[Buildroot] [PATCH v2] package/shairport-sync: fix init script (stop)

Peter Korsgaard peter at korsgaard.com
Fri Dec 21 13:56:29 UTC 2018


>>>>> "Carlos" == Carlos Santos <casantos at datacom.com.br> writes:

 > shairport-sync creates its pidfile at /var/run/shairport-sync/, so pass
 > that path to start-stop-daemon in the stop operation.

 > Also pass the executable path, allowing start-stop-daemon to check if
 > the PID matches the shairport-sync process, preventing killing some
 > other inocent daemon.

 > Fixes:
 >   https://bugs.busybox.net/show_bug.cgi?id=11566

 > Reported-by: Bin Zhang <yangtze31 at gmail.com>
 > Signed-off-by: Carlos Santos <casantos at datacom.com.br>

Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list