Re: [PATCH] daemon/parachute & co for all boxes

Steve Kennedy <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
On Thu, Jan 15, 2004 at 02:56:52PM +0100, Alexander Malysh wrote:

> attached you can find a patch that adds some usefull command line parameters 
> for all boxes.
> 1) -P/--parachute : start watcher father process that catch and restart 
> crashed child process
> 2) -X/--panic-script : execute this script if child process crashed
> 3) -u/--user : change process user-id (security)
> 4) -p/--pid-file : write PID into the given file
> 5) -d/--daemonize : daemonize the process
> Comments and votes please!

Though not tried it, looks a sensible approach.


Steve


-- 
NetTek Ltd Phone/Fax +44-(0)20 7483 2455
SMS steve-epage (at) gbnet.net [body] gpg 1024D/468952DB 2001-09-19
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.