From 3e6cc0e45fe168731e471739e0d0d91f6f72913a Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sat, 17 Sep 2011 17:08:22 +0100 Subject: [PATCH] Fixed an issue with init script stop action. Unable to stop the daemon because a pid file was not being created. --- shairport.init.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shairport.init.sample b/shairport.init.sample index 915ebbab..ddef91a1 100755 --- a/shairport.init.sample +++ b/shairport.init.sample @@ -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