[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Daemon wrapping util
- To: "linux ILUG" <linux-il(at-nospam)linux.org.il>
- Subject: Daemon wrapping util
- From: "Aviram Jenik" <aviram(at-nospam)jenik.com>
- Date: Thu, 4 Oct 2001 17:20:48 +0200
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Importance: Normal
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
Hi,
I'm looking for a way to make one of my programs into a daemon. I would
like to do that without changing any source code.
Currently, the program runs infinitely (polling on a database for
changes). It needs no console input, and outputs to stdout. I would like
to find a reliable way to run it, preferably sending output to syslog
(WITHOUT changing source code), and possibly check if its running and
run it again if it sigfaults (not that it should :-))
A solution involving nohup is nice, but lacks the other two features and
this is why I'm looking for a possibly better solution.
Any idea of such good daemon wrappers?
- Aviram
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il