22 Nov
2017
22 Nov
'17
11:28 a.m.
Hi,
about https://wiki.dovecot.org/DovecotInit, i wondered
about
stop)
if test $running = yes; then
echo "Stopping Dovecot"
kill cat $pidfile
echo "."
else
echo "Dovecot is already stopped."
fi
;;
Is "doveadm stop" technically the same, or better/worse/safer? Does "doveadm stop" wait until all child processes are finished, or would "sleep 1" in the restart-function still be necessary in this case?
Is "kill -HUP cat $pidfile
" technically the same as "doveadm reload"?
If it'a all fine to use doveadm in an initscript, i there a reason to not add "doveadm start" to doveadm functionality? Surely this is not that important, but maybe a bit more consistent.
Thanks,
Johannes
2712
Age (days ago)
2712
Last active (days ago)
0 comments
1 participants
participants (1)
-
dovecot@schoepfer.info