[Dovecot] Graceful shutdown

Kenneth Porter shiva at sewingwitch.com
Tue Nov 29 00:33:56 EET 2005


--On Monday, November 28, 2005 12:13 PM -0600 Cliff Hayes <chayes at 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.)


More information about the dovecot mailing list