Nah, found a simple solution.
Add:
do_start_cmd_override() {
$DAEMON start
}
do_stop_cmd_override() {
$DAEMON stop
}
to the init script.
I'll fix that in the next upload.
Cheers,
--
Ondřej Surý
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
On Wed, Mar 23, 2016
On Wed, Mar 23, 2016, at 14:28, Ondřej Surý wrote:
> Hi Amos,
>
> stopping should be done by start-stop-daemon
So I don't know why it doesn't stop it. Could you try running the init
script "stop" action with `set -x` again?
And perhaps also restart and status? Thanks.
O.
--
Ondřej Surý
Knot D
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ý
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
On Wed, Mar 23, 2016, at 13:54, Amos Jeffries wrote:
> Control
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/cour
4 matches
Mail list logo