Skip to content
Browse files

Pass name from init script to daemon

  • Loading branch information...
1 parent 7df1fa7 commit 3d6b9135172c39d7b58417837080862b8c091899 @r10r r10r committed Sep 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 3d6b913

Please sign in to comment.
Something went wrong with that request. Please try again.