package/shairport-sync: fix init script
authorJörg Krause <jkrause@posteo.de>
Wed, 12 Nov 2014 23:06:26 +0000 (00:06 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 19 Nov 2014 21:50:19 +0000 (22:50 +0100)
commit20fbed2f7148163c6ca7389f2fb0fbff00d18d23
tree57e1f2b55e7fb6adcf0f9ba664df18bfeea53174
parent7450386ae9b6d48bf13d1d8a9853b50d9e767c28
package/shairport-sync: fix init script

shairport-sync uses libdaemon for running as daemon and creating the pidfile
which conflicts with start-stop-daemons `-b -m` options. For that reason
shairport-sync does not start using /etc/init.d/S99shairport-sync start.

The issue is fixed by removing the background and pidfile task from
start-stop-daemon and add a daemon option `-d` to shairport-sync.

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/shairport-sync/S99shairport-sync