Previously Shannon -jj Behrens wrote: > > Hi, > > I'm looking at > http://wiki.pylonshq.com/display/pylonscookbook/Monitor+Pylons+application+with+supervisord. > I have a few questions: > > 1. Why does it use a manually created server.py instead of using > paster like normal?
There is no need to. > 2. Does anyone have an rc script to start supervisor under Ubuntu? I've started to run supervisord from init so that init will restart supervisord if it dies. I've never seen supervisord actually die but better safe than sorry. This is quite trivial to do with a single extra line in /etc/inittab. Here is an example from one of my deployments: # Start supervisord, which manages the Varnish proxy server plne:2345:respawn:/srv/proxy/bin/supervisord --nodaemon -c /srv/proxy/etc/supervisord.conf Wichert. -- Wichert Akkerman <[EMAIL PROTECTED]> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
