All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] package/transmission: fix sysv init script (name vs. exec)
@ 2021-03-10 22:41 Peter Seiderer
  2021-03-11 21:55 ` Yann E. MORIN
  2021-03-19 22:04 ` Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Seiderer @ 2021-03-10 22:41 UTC (permalink / raw)
  To: buildroot

- fix sysv init script in case package start-stop-daemon is
  enabled

Fixes:

  - https://bugs.busybox.net/show_bug.cgi?id=13576

  $ /etc/init.d/S92transmission stop
  Stopping bittorrent client transmission-daemon...
  start-stop-daemon: warning: this system is not able to track process names
  longer than 15 characters, please use --exec instead of --name.

Reported-by: ingineru_de_sistem at yahoo.com
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
Changes v1 -> v2:
  - add reported-by and reference to bug entry
---
 package/transmission/S92transmission | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/transmission/S92transmission b/package/transmission/S92transmission
index 29d7cd5863..85ff40ec16 100644
--- a/package/transmission/S92transmission
+++ b/package/transmission/S92transmission
@@ -93,7 +93,7 @@ stop()
         #   1 if daemon was already stopped
         #   2 if daemon could not be stopped
         #   other if a failure occurred
-        start-stop-daemon --stop --quiet --retry=TERM/10/KILL/5 --pidfile $PIDFILE --name $NAME
+        start-stop-daemon --stop --quiet --retry=TERM/10/KILL/5 --pidfile $PIDFILE --exec $DAEMON
         RETVAL="$?"
         [ "$RETVAL" = 2 ] && return 2
 
-- 
2.30.1

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

end of thread, other threads:[~2021-03-21 15:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-10 22:41 [Buildroot] [PATCH v2] package/transmission: fix sysv init script (name vs. exec) Peter Seiderer
2021-03-11 21:55 ` Yann E. MORIN
2021-03-19 22:04 ` Peter Korsgaard
2021-03-21 15:19   ` Peter Seiderer

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.