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:
parent
45d0f35ba2
commit
bd03727531
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
DAEMON="gerbera"
|
||||
PIDFILE="/var/run/$NAME.pid"
|
||||
PIDFILE="/var/run/$DAEMON.pid"
|
||||
|
||||
GERBERA_ARGS="-c /etc/gerbera/config.xml -l /var/log/gerbera.log"
|
||||
|
||||
|
|
Loading…
Reference in a new issue