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:
Jörg Krause 2019-05-16 10:25:42 +02:00 committed by Peter Korsgaard
parent 45d0f35ba2
commit bd03727531

View file

@ -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"