Ninja Sphere's process manager. Used to start, stop, restart and monitor Sphere processes (like drivers).
Based heavily on goforever by Garrett Woodworth
Help.
./director -h
Daemonize main process.
./director start
Run main process and output to current session.
./director
list List processes.
show [process] Show a main proccess or named process.
start [process] Start a main proccess or named process.
stop [process] Stop a main proccess or named process.
restart [process] Restart a main proccess or named process.
Return a list of managed processes
GET host:port/
Start the process
POST host:port/:name
Restart the process
PUT host:port/:name
Stop the process
DELETE host:port/:name