auto restarting a daemon process with RHEL's init system

2009-06-30 Thread Michael Torrie
Is there any utility program that can wrap a daemon running in an init script on RHEL 5 that can auto-restart the actual daemon process when it crashes? Obviously a crashing daemon isn't desirable, but sometimes it happens and in this case a restart is sufficient and desired. I'd like to still

Re: auto restarting a daemon process with RHEL's init system

2009-06-30 Thread Byron Clark
On Tue, Jun 30, 2009 at 02:00:50PM -0600, Michael Torrie wrote: Are there any existing solutions? A cron watchdog seems a little crude to me (and has no knowledge of runlevels) I also know how to use /etc/inittab, but that seems a little crude (and harder to maintain). Not included in RHEL5,

Re: auto restarting a daemon process with RHEL's init system

2009-06-30 Thread Matthew Walker
I like daemontools for this. It would be possible to set it up to start/stop a daemontools managed process with initscripts too. -- Matthew Walker Kydance Hosting Consulting, Inc. - http://www.kydance.net/ PHP, Perl, and Web Development - Linux Server Administration /* PLUG: http://plug.org,

Re: auto restarting a daemon process with RHEL's init system

2009-06-30 Thread Shane Hathaway
Michael Torrie wrote: Is there any utility program that can wrap a daemon running in an init script on RHEL 5 that can auto-restart the actual daemon process when it crashes? Obviously a crashing daemon isn't desirable, but sometimes it happens and in this case a restart is sufficient and

Re: auto restarting a daemon process with RHEL's init system

2009-06-30 Thread Michael Torrie
Shane Hathaway wrote: Supervisor. http://supervisord.org/ I like it, but not just because it's Python. ;-) It really has all the features listed on the home page. Looks about like what I want. thanks! Plug is better than google today! /* PLUG: http://plug.org, #utah on

Re: auto restarting a daemon process with RHEL's init system

2009-06-30 Thread Gabriel Gunderson
On Tue, Jun 30, 2009 at 3:08 PM, Michael Torrietorr...@gmail.com wrote: Looks about like what I want. thanks!  Plug is better than google today! If you like that, you should totally try Bing! Gabe /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: