29 Nov
2005
29 Nov
'05
12:33 a.m.
--On Monday, November 28, 2005 12:13 PM -0600 Cliff Hayes chayes@afo.net wrote:
I am running Dovecot v1alpha4 on Fedora 4 from the command line (as opposed to deamon). Is there a recommended way to shut it down gracefully? Or do I just use killall -9 dovecot? I'm not using the included version, so I can't do SERVICE DOVECOT STOP.
The "service dovecot stop" issues "killproc dovecot" which is a macro that issues "kill -TERM" against its PID, waits up to 5 seconds for the pid file to go away, and issues "kill -KILL" if it still exists. (See /etc/init.d/dovecot and /etc/init.d/functions.)