Skip to contentSkip to conversation

package/gerbera: fix pidfile name in start-stop-script

PATCH New Jörg Krause 2 participants 3 messages May 16, 2019 – Jun 6, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 package/gerbera/S99gerbera | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/gerbera/S99gerbera +1 -1
index 8bbd221ce2..d1c74c887c 100644
@@ -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"
 
Signature · 1 line
2.21.0
#1 lore raw

PATCH 1/1 package/gerbera: fix pidfile name in start-stop-script

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"J?rg" == J?rg Krause <[email protected]> writes:

NAME is not set resulting in a pidfile without a basename:
/var/run/.pid. Use the correct variable DAEMON instead.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard