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:
Gareth Jones
2011-09-17 17:08:22 +01:00
parent 9583d83824
commit 3e6cc0e45f
+1 -1
View File
@@ -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