nathancahill nathancahill - 1 year ago 152
Python Question

Circus, running circusd as a daemon?

So, I just switched from Supervisor to Circus for controlling Python processes. I'm starting the daemon as circusd from the command line. Obviously, this isn't how I should be doing it, but I can't find any docs on the right way. Enlightenment?

Answer Source

There isn't a built in way to start circus with Upstart. I added a file circus.conf to /etc/init:

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

My circus conf is at /etc/circus.ini

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

Updated with more info here:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download