package/gerbera: fix pidfile name in start-stop-script
authorJörg Krause <joerg.krause@embedded.rocks>
Thu, 16 May 2019 08:25:42 +0000 (10:25 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 17 May 2019 08:38:37 +0000 (10:38 +0200)
`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>
package/gerbera/S99gerbera

index 8bbd221ce2d69208b04883b58a26f119b72714e6..d1c74c887cbe9787a2b2acf74f30161954afb318 100644 (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"