python-pyasn: bump to version 1.6.0b1
[buildroot-gz.git] / package / shairport-sync / S99shairport-sync
blob5443ed138cd5df23c71a66d7af447bb9c6e86de7
1 #! /bin/sh
3 # Additional options that are passed to Shairport Sync
4 OPTIONS="-d"
6 case "$1" in
7 start)
8 printf "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"
12 stop)
13 printf "Stopping shairport-sync: "
14 start-stop-daemon -K -q -p /var/run/shairport-sync.pid
15 [ $? = 0 ] && echo "OK" || echo "FAIL"
17 restart)
18 $0 stop
19 $0 start
22 echo "Usage: $0 {start|stop|restart}"
23 exit 1
25 esac