3 # Additional options that are passed to Shairport Sync
8 echo -n "Starting shairport-sync: "
9 start-stop-daemon -S -q -p /var/run/shairport-sync.pid --exec /usr/bin/shairport-sync -- $OPTIONS
10 [ $? = 0 ] && echo "OK" || echo "FAIL"
13 echo -n "Stopping shairport-sync: "
14 start-stop-daemon -K -q -p /var/run/shairport-sync.pid
15 [ $? = 0 ] && echo "OK" || echo "FAIL"
22 echo "Usage: $0 {start|stop|restart}"