One more error: start-stop-daemon: unrecognized option '--retry'

kannel[1169]:  bearerbox
kannel[1173]: /usr/local/sbin/start-stop-daemon: unrecognized option
'--retry'
kannel[1173]: Try `/usr/local/sbin/start-stop-daemon --help' for more
information.
kannel[1169]: .
systemd[1]: kannel.service: Succeeded.

On 6/27/2022 20:59, lbrezs...@gmx.co.uk wrote:
Compiled kannel from svn (version 5324) on Debian.

Copied kannel init script to /etc/init.d/

~$ sudo cp /usr/src/gateway-svn-5324/debian/kannel.init
/etc/init.d/kannel

To start kannel

~$ systemctl start kannel

works as expected, but

~$ systemctl stop kannel

does not.

kannel[2707]: start-stop-daemon: unrecognized option '--retry'
kannel[2707]: Try `start-stop-daemon --help' for more information.
kannel[2705]: .
systemd[1]: kannel.service: Succeeded.
systemd[1]: kannel.service: Unit process 2199 (run_kannel_box) remains
running after unit stopped.
systemd[1]: kannel.service: Unit process 2201 (bearerbox) remains
running after unit stopped.
systemd[1]: kannel.service: Unit process 2211 (run_kannel_box) remains
running after unit stopped.
systemd[1]: kannel.service: Unit process 2212 (smsbox) remains running
after unit stopped.
systemd[1]: Stopped kannel.service.
systemd[1]: kannel.service: Consumed 1.102s CPU time.

As a result, kannel is still running

~$ pgrep -u kannel

2199
2201
2211
2212

shows all 4 pids active and have to kill them manually.

Am I missing something? Or it's a bug?

Thanks,

Lelik.



Reply via email to