mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-07 02:28:53 +08:00
start nghttpx with --daemon
This commit is contained in:
2
contrib/nghttpx-init.in
Normal file → Executable file
2
contrib/nghttpx-init.in
Normal file → Executable file
@@ -20,7 +20,7 @@ NAME=nghttpx
|
|||||||
# Depending on the configuration, binary may be located under @sbindir@
|
# Depending on the configuration, binary may be located under @sbindir@
|
||||||
DAEMON=@bindir@/$NAME
|
DAEMON=@bindir@/$NAME
|
||||||
PIDFILE=/var/run/$NAME.pid
|
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
|
SCRIPTNAME=/etc/init.d/$NAME
|
||||||
|
|
||||||
# Exit if the package is not installed
|
# Exit if the package is not installed
|
||||||
|
|||||||
Reference in New Issue
Block a user