Re: how to run a program as a daemon

2003-09-04 Thread Charles Swiger
On Wednesday, September 3, 2003, at 08:41 PM, [EMAIL PROTECTED] wrote: I had the same problem once, but with httpd. I use the restartWrapper - A very nice perl script written by Mike McCauley, dunno his website though. Maybe you can google. If you know you have Perl available, anyway. /bin/sh

Re: how to run a program as a daemon

2003-09-03 Thread Joshua Oreman
On Wed, Sep 03, 2003 at 03:42:59PM -0400 or thereabouts, David Banning wrote: I am running tmda-ofmipd for my smtp server and occasionally it dies. I wonder how I could set it up to run so that if it dies for some reason, it will start up again. Right now, it starts in my rc.local like so;

Re: how to run a program as a daemon

2003-09-03 Thread Chuck Swiger
David Banning wrote: I am running tmda-ofmipd for my smtp server and occasionally it dies. I wonder how I could set it up to run so that if it dies for some reason, it will start up again. Right now, it starts in my rc.local like so; /usr/local/bin/tmda-ofmipd -R imap://localhost -u tofmipd

Re: how to run a program as a daemon

2003-09-03 Thread Mike Hogsett
You can use /etc/ttys for this (despite the name). Oh my! How clever. That had never occurred to me. I chose the crontab entry method to keep the daemon half of SpamAssassin running. This is more elegant. ___ [EMAIL PROTECTED] mailing list

Re: how to run a program as a daemon

2003-09-03 Thread chael
I had the same problem once, but with httpd. I use the restartWrapper - A very nice perl script written by Mike McCauley, dunno his website though. Maybe you can google. David Banning wrote: I am running tmda-ofmipd for my smtp server and occasionally it dies. I wonder how I could set it up