On Wed, Feb 11, 2015 at 10:25:38PM +0100, Mateusz Łukasik wrote: > Hello, > > I make darkhttpd package and have a small issue. > > I prepare init script: > https://github.com/mati75/darkhttpd/blob/master/debian/init and for run > script with start parameter is working fine:
This is just a shot in the dark, but how about dropping the --daemon parameter, and telling start-stop-daemon to do the backgrounding? Basically... start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile \ --background --exec $DAEMON -- $DARKHTTPD_ROOT $DARKHTTPD_FLAGS || true -- Kind regards, Loong Jin
signature.asc
Description: Digital signature