All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/gerbera: fix pidfile name in start-stop-script
@ 2019-05-16  8:25 Jörg Krause
  2019-05-17  8:38 ` Peter Korsgaard
  2019-06-06  6:45 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Jörg Krause @ 2019-05-16  8:25 UTC (permalink / raw)
  To: buildroot

`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>
---
 package/gerbera/S99gerbera | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] package/gerbera: fix pidfile name in start-stop-script
  2019-05-16  8:25 [Buildroot] [PATCH] package/gerbera: fix pidfile name in start-stop-script Jörg Krause
@ 2019-05-17  8:38 ` Peter Korsgaard
  2019-06-06  6:45 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-05-17  8:38 UTC (permalink / raw)
  To: buildroot

>>>>> "J?rg" == J?rg Krause <joerg.krause@embedded.rocks> writes:

 > `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>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] package/gerbera: fix pidfile name in start-stop-script
  2019-05-16  8:25 [Buildroot] [PATCH] package/gerbera: fix pidfile name in start-stop-script Jörg Krause
  2019-05-17  8:38 ` Peter Korsgaard
@ 2019-06-06  6:45 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-06-06  6:45 UTC (permalink / raw)
  To: buildroot

>>>>> "J?rg" == J?rg Krause <joerg.krause@embedded.rocks> writes:

 > `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>

Committed to 2019.02.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-06  6:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-16  8:25 [Buildroot] [PATCH] package/gerbera: fix pidfile name in start-stop-script Jörg Krause
2019-05-17  8:38 ` Peter Korsgaard
2019-06-06  6:45 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.