Fixed an issue with init script stop action.
Unable to stop the daemon because a pid file was not being created.
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
|
||||
NAME=shairport
|
||||
DAEMON="/usr/local/bin/shairport.pl"
|
||||
DAEMON_ARGS=""
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
DAEMON_ARGS="-w $PIDFILE"
|
||||
|
||||
[ -x $binary ] || exit 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user