start-stop-daemon in /etc/init.d/hellanzb does not shut down the hellanzb daemon. Hellanzb daemon does not create a pid file and start-stop-daemon's --make-pidfile doesn't work when hellanzb is started as a daemon.
Created attachment 210280 [details, diff] /etc/init.d/hellanzb stop() patch This patch shuts down the hellanzb daemon by issuing it the "shutdown" command instead of using start-stop-daemon. Also, when restarted, the script sleeps for 1 second to allow old instance's socket to be relinquished
applied, thanks