|
@@ -1,12 +1,12 @@
|
|
#! /bin/sh
|
|
#! /bin/sh
|
|
|
|
|
|
# Additional options that are passed to Shairport Sync
|
|
# Additional options that are passed to Shairport Sync
|
|
-OPTIONS=""
|
|
|
|
|
|
+OPTIONS="-d"
|
|
|
|
|
|
case "$1" in
|
|
case "$1" in
|
|
start)
|
|
start)
|
|
echo -n "Starting shairport-sync: "
|
|
echo -n "Starting shairport-sync: "
|
|
- start-stop-daemon -S -q -m -b -p /var/run/shairport-sync.pid --exec /usr/bin/shairport-sync -- $OPTIONS
|
|
|
|
|
|
+ start-stop-daemon -S -q -p /var/run/shairport-sync.pid --exec /usr/bin/shairport-sync -- $OPTIONS
|
|
[ $? = 0 ] && echo "OK" || echo "FAIL"
|
|
[ $? = 0 ] && echo "OK" || echo "FAIL"
|
|
;;
|
|
;;
|
|
stop)
|
|
stop)
|