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

Peter Korsgaard peter at korsgaard.com
Tue Jan 1 15:22:07 UTC 2019


>>>>> "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>
 > ---
 > Changes v1->v2
 >   - Recreated patch with the PID checking part

Committed to 2018.02.x and 2018.11.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list