mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/gerbera: fix pidfile name in start-stop-script
`NAME` is not set resulting in a pidfile without a basename: `/var/run/.pid`. Use the correct variable `DAEMON` instead. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
45d0f35ba2
commit
bd03727531
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
DAEMON="gerbera"
|
DAEMON="gerbera"
|
||||||
PIDFILE="/var/run/$NAME.pid"
|
PIDFILE="/var/run/$DAEMON.pid"
|
||||||
|
|
||||||
GERBERA_ARGS="-c /etc/gerbera/config.xml -l /var/log/gerbera.log"
|
GERBERA_ARGS="-c /etc/gerbera/config.xml -l /var/log/gerbera.log"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user