Merge pull request #166 from r10r/master
Simple fix for passing the name in the init script
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user