From: Peter Korsgaard Date: Fri, 21 Dec 2018 14:56:29 +0100 Subject: [Buildroot] [PATCH v2] package/shairport-sync: fix init script (stop) In-Reply-To: <20181220221838.21000-1-casantos@datacom.com.br> (Carlos Santos's message of "Thu, 20 Dec 2018 20:18:38 -0200") References: <20181220221838.21000-1-casantos@datacom.com.br> Message-ID: <8736qrugoi.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Carlos" == Carlos Santos 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 > Signed-off-by: Carlos Santos Committed, thanks. -- Bye, Peter Korsgaard