Permalink
Browse files

Fixed an issue with init script stop action.

Unable to stop the daemon because a pid file was not being created.
  • Loading branch information...
1 parent 9583d83 commit 3e6cc0e45fe168731e471739e0d0d91f6f72913a @symm symm committed Sep 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 shairport.init.sample
View
@@ -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

0 comments on commit 3e6cc0e

Please sign in to comment.