Hi Amos,

stopping should be done by start-stop-daemon

(Couldn't you just switch to systemd? :) I am quite tired of fixing
shell spaghetti.)

Cheers,
-- 
Ondřej Surý <ond...@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server

On Wed, Mar 23, 2016, at 13:54, Amos Jeffries wrote:
> Control: found 818747 0.66.4-6
> 
> Unfortunately the fix applied is still not working properly. Hard-coding
> the action that the script performs as "start" only works for starting
> the daemons, not any other init actions.
> 
> It can start the daemons now:
> 
> # ps aux | grep "courier-auth"
> 
> # /etc/init.d/courier-authdaemon start
> [ ok ] Starting Courier authentication services: authdaemond.
> 
> # ps aux | grep courier | grep auth
> root     17980  0.0  0.4   2220  1184 ?        S    00:39   0:00
> /usr/sbin/courierlogger -pid=/run/courier/authdaemon/pid -start
> /usr/lib/courier/courier-authlib/authdaemond
> root     17981  0.0  1.1   8404  2884 ?        S    00:39   0:00
> /usr/lib/courier/courier-authlib/authdaemond
> ...
> 
> 
> But that is all:
> 
> # /etc/init.d/courier-authdaemon stop
> [ ok ] Stopping Courier authentication services: authdaemond.
> 
> # ps aux | grep "courier-auth"
> root     17980  0.0  0.4   2220  1184 ?        S    00:39   0:00
> /usr/sbin/courierlogger -pid=/run/courier/authdaemon/pid -start
> /usr/lib/courier/courier-authlib/authdaemond
> root     17981  0.0  1.1   8404  2884 ?        S    00:39   0:00
> /usr/lib/courier/courier-authlib/authdaemond
> ...
> 
> 
> Amos
> 

Reply via email to