On Sat, 05 Feb 2005, Todd Troxell wrote: > On Sat, Feb 05, 2005 at 08:23:09PM +0100, Peter Palfrader wrote: > > I guess you really want to use pidfiles, and not go (just) by name. > > I'd like it to do that too. Unfortunately the daemon forks from it's main > process and so start-stop-daemon -m does not work. I patched proxytest.cpp > to write a pid file, but this still doesn't work because /var/run is > root:root 755, and this daemon starts as nobody.
The solution then is to make a directory below var/run/ and run the daemon as a dedicated user (or daemon). for instance var/run/anon-proxy/foo.pid Another option is to stop proxytest from forking and daemonizing itself and let start-stop-daemon handle all of that. > Also, is it really release critical that it use --pidfile ? Probably not, tho I highly recommend it. -- Peter -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

