On 12.02.2015 07:57, Chow Loong Jin wrote:
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
The simply way is the best. It definitely fix the issue.
Thanks!
--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54dcc835.5040...@linuxmint.pl