Bug#627339: init script should use QUIT instead of TERM

Ondřej Surý ondrej at sury.org
Fri May 20 12:07:32 UTC 2011

Hi Steven,

looks good, but you can use --retry=0/30/KILL/5 option for retrying.

I'll use your patch as a base and rewrite the init.d script with
regards to current /etc/init.d/skeleton...


On Thu, May 19, 2011 at 19:25, Steven Kurylo <steven.kurylo at aviawest.com> wrote:
> Package: cyrus-common-2.4
> Version: 2.4.8-7
> install-configure.html says we should use QUIT first:
> Since a clean shutdown may never finish if a child process is stuck
> for some reason the recommended approach is to send a SIGQUIT then loop
> on the master process sending a signal 0 every second until either the
> master process has gone away or a suitable time has expired (maybe 10
> seconds).  You can then send a SIGTERM if the process still exists.
> As well imapd.conf says sync_shutdown_file should be used if we're doing
> replication.
> I've attached a first draft of a patch.  Please let me know what you think.
>  Thank you.
> _______________________________________________
> Pkg-Cyrus-imapd-Debian-devel mailing list
> Pkg-Cyrus-imapd-Debian-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-cyrus-imapd-debian-devel

Ondřej Surý <ondrej at sury.org>

More information about the Pkg-Cyrus-imapd-Debian-devel mailing list