On Sun, Mar 29, 2009 at 16:55, Mike Orr <[email protected]> wrote:
> > On 3/28/09, Jose Galvez <[email protected]> wrote: > > Here is my supervisord init script. not sure if its the best but its > > working > > This script looks like it's for Red Hat; here's one for Ubuntu. Start > works and stop works, but restart doesn't for some reason, so I have > to start it again after restarting. If you're using Ubuntu, I'd suggest using their newer upstartn system. Here is my /etc/event.d/supervisor script """ exec supervisord --nodaemon start on runlevel 2 console output """ That's it. Worked quite nicely. For more info see http://upstart.ubuntu.com/getting-started.html And if you want to monitor the supervisord and restart if it fails (never happened to me) I can recommend monit, available via apt-get. Max. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
