Permalink
Browse files

Merge pull request #166 from r10r/master

Simple fix for passing the name in the init script
  • Loading branch information...
2 parents b58f156 + 3d6b913 commit 4746bb11395d171ee800f074f489c42020a84932 @albertz committed Oct 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 shairport.init.sample
View
4 shairport.init.sample
@@ -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

0 comments on commit 4746bb1

Please sign in to comment.