package/transmission: fix sysv init script (name vs. exec)
authorPeter Seiderer <ps.report@gmx.net>
Wed, 10 Mar 2021 22:41:55 +0000 (23:41 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Thu, 11 Mar 2021 21:49:39 +0000 (22:49 +0100)
commit45d326a08c7838658f1ed9813967ea8caeff7495
tree18d46af4422aebe93c4d7e9d69adcd356ab4cbbc
parent50cbac5099b1767c8f69509a900dae2b58ca66ff
package/transmission: fix sysv init script (name vs. exec)

With the start-stop-daemon enabled (instead of the busybox applet),
stopping transmission emits spurious warnings:

  $ /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.

Update our startup script to match what was done upstream 9 years ago:
    https://trac.transmissionbt.com/ticket/4724
    https://trac.transmissionbt.com/wiki/Scripts/initd?action=diff&version=24&old_version=23

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

Reported-by: ingineru_de_sistem@yahoo.com
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[yann.morin.1998@free.fr:
  - reword commit log
  - add reference to upstream ticket and changeset
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/transmission/S92transmission