On Fri, Apr 06, 2001 at 10:30:44AM +0200, David Rohleder wrote:
I have my own init system which uses a C program similar to debian's start-stop-daemon. I've written it such that given a command line flag the daemon spawning program will write a pid file if you know the daemon you're running doesn't write one (such as with bird). Once I did this I had no trouble starting and stopping bird using the pid file mechanism. Perhaps you might patch debian's start-stop-daemon to do a similar thing? It's a thought.
start-stop-daemon already does this:
--make-pidfile Used when starting a program that does not create
*Urgs* Thanks for pointing that out - I didnt know that - I am currently also very busy on the mips/mipsel ports but i'll hope i can at least produce better init scripts soon. Flo -- Florian Lohoff flo@rfc822.org +49-5201-669912 Why is it called "common sense" when nobody seems to have any?