A circus running in a circus as a demon?

So, I just switched from Supervisor to Circus to control Python processes. I run the daemon like a circus from the command line. Obviously, this is not how I should do this, but I cannot find any documents on the right track. Education?

+5
source share
2 answers

There is no built-in way to start a circus with Upstart. I added the file circus.confto /etc/init:

start on filesystem and net-device-up IFACE=lo
exec /usr/local/bin/circusd /etc/circus.ini

My circus conf is in /etc/circus.ini

After that I can use sudo service circus...to control the process.

Updated with more information here: http://nathancahill.github.com/circus/

+10
source

(0.13.0) -daemon. :

$ circusd circus.ini --daemon

.

+1

All Articles