[Dovecot] Graceful shutdown

Cliff Hayes chayes at afo.net
Wed Nov 30 23:42:09 EET 2005


Kenneth,

I wasn't able to get that to work.

I did "killproc dovecot" and got:  killproc cannot be found.

The only place I found it was inside of /etc/init.d/functions as you
mentioned below.  I don't know how to use it that way.

There is no /etc/init.d/dovecot directory.

Cliff

-----Original Message-----
From: dovecot-bounces at dovecot.org [mailto:dovecot-bounces at dovecot.org]On
Behalf Of Kenneth Porter
Sent: Monday, November 28, 2005 4:34 PM
To: dovecot at dovecot.org
Subject: Re: [Dovecot] Graceful shutdown


--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