aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jörg Krause <joerg.krause@embedded.rocks>2019-05-16 10:25:42 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-05-17 10:38:37 +0200
commitbd03727531428ba7bcf7d1918d9913f88c8e15c7 (patch)
tree0dee79dabe0d665cc760d5fd190eae61dbeb2906
parent45d0f35ba2d9799cc1fe4d815904858a38132b63 (diff)
downloadbuildroot-bd03727531428ba7bcf7d1918d9913f88c8e15c7.tar.gz
buildroot-bd03727531428ba7bcf7d1918d9913f88c8e15c7.tar.bz2
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>
-rw-r--r--package/gerbera/S99gerbera2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/gerbera/S99gerbera b/package/gerbera/S99gerbera
index 8bbd221ce2..d1c74c887c 100644
--- a/package/gerbera/S99gerbera
+++ b/package/gerbera/S99gerbera
@@ -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"