Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 966 Bytes

README.md

File metadata and controls

43 lines (25 loc) · 966 Bytes

Sphere Directory Build Status

Ninja Sphere's process manager. Used to start, stop, restart and monitor Sphere processes (like drivers).

Based heavily on goforever by Garrett Woodworth

Running

Help.

./director -h

Daemonize main process.

./director start

Run main process and output to current session.

./director

CLI

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.

HTTP API

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