start nghttpx with --daemon

This commit is contained in:
Tomasz Buchert 2015-09-11 18:59:37 +02:00
parent f086b7b67e
commit da57989cf6
1 changed files with 1 additions and 1 deletions

2
contrib/nghttpx-init.in Normal file → Executable file
View File

@ -20,7 +20,7 @@ NAME=nghttpx
# Depending on the configuration, binary may be located under @sbindir@
DAEMON=@bindir@/$NAME
PIDFILE=/var/run/$NAME.pid
DAEMON_ARGS="--conf /etc/nghttpx/nghttpx.conf --pid-file=$PIDFILE"
DAEMON_ARGS="--conf /etc/nghttpx/nghttpx.conf --pid-file=$PIDFILE --daemon"
SCRIPTNAME=/etc/init.d/$NAME
# Exit if the package is not installed