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