Merge pull request #166 from r10r/master

Simple fix for passing the name in the init script
This commit is contained in:
Albert Zeyer
2012-10-02 03:43:50 -07:00
+2 -2
View File
@@ -16,10 +16,10 @@
# Source function library.
. /lib/lsb/init-functions
NAME=shairport
NAME=ShairPort
DAEMON="/usr/local/bin/shairport.pl"
PIDFILE=/var/run/$NAME.pid
DAEMON_ARGS="-w $PIDFILE"
DAEMON_ARGS="-w $PIDFILE -a $NAME"
[ -x $binary ] || exit 0