Runner for inside the dynos (lxc-init replacment)
JavaScript Shell
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
rukorun
test
.gitignore
.travis.yml
Makefile
README.md
nodeboot
package.json

README.md

Rukorun - Runner inside dyno (lxc-init replacement)

Build Status

Introduction

Rukorun handles the execution of the job command within the dyno, it sets up the appriorate environment, including environment variables, working directory and less privileged account to launch the process. It monitors the state of process and reports back to dynohost via shared Unix sockets, that are mounted in both the dyno and host.

Requirements

Tested on Linux 3.2 using node.js 0.8

On a fresh Ubuntu 12.04 LTS instance:

apt-get install nodejs

Please share experiences with CentOS, Fedora, OS X, FreeBSD etc... I am fairly confident it will not work on Windows based machines however.

Installation

Step 1:

git clone https://github.com/openruko/rukorun.git rukorun
cd rukorun

make init

Step 2:

Set RUKORUN_PATH env var in dynohost, so the correct path is mounted on the dyno.

Help and Todo

  • Monitor port binding for 'up' status.

  • can pty.js be modified to not need a runas.js proxy?

License

rukorun and other openruko components are licensed under MIT.
http://opensource.org/licenses/mit-license.php

Authors and Credits

Matt Freeman
email me - im looking for some remote work
follow me on twitter