Ian Bicking: the old part of his blog

Re: Daemon Best Practices

You might look at what David Binger has done with qp - it stops and starts multiple servers

http://www.mems-exchange.org/software/qp/qp-1.1.tar.gz/qp-1.1/lib/site.py -- and http://www.mems-exchange.org/software/qp/qp-1.1.tar.gz/qp-1.1/bin/qp

Dulcinea and now qp have always had site management (stop, restart / start, status) type functionality to control various servers including SCGI, Durus and web servers.

You'll find older examples (including driving Apache) in Dulcinea - check the bin dir:

http://www.mems-exchange.org/software/dulcinea/Dulcinea-0.11.tar.gz/Dulcinea-0.11/bin/

Comment on Daemon Best Practices
by Mike Watkins