Bug#293513: init file patch

2005-02-06 Thread Todd Troxell
On Sun, Feb 06, 2005 at 02:25:05AM +0100, Peter Palfrader wrote: 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 A patch to do this is attached. Cheers, -- [ Todd J. Troxell

Bug#293513: init file patch

2005-02-06 Thread Todd Troxell
Oops. Clean version attached. -- [ Todd J. Troxell ,''`. Student, Debian GNU/Linux Developer, SysAdmin, Geek : :' : http://debian.org || http://rapidpacket.com/~xtat`. `' `-

Bug#293513: init file patch

2005-02-05 Thread Todd Troxell
Attached is a working patch to the current anon-proxy.init Cheers, -- [ Todd J. Troxell ,''`. Student, Debian GNU/Linux Developer, SysAdmin, Geek : :' : http://debian.org || http://rapidpacket.com/~xtat`. `'

Bug#293513: init file patch

2005-02-05 Thread Todd Troxell
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

Bug#293513: init file patch

2005-02-05 Thread Peter Palfrader
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