Bug#627339: init script should use QUIT instead of TERM
Steven Kurylo
steven.kurylo at aviawest.com
Thu May 19 17:25:52 UTC 2011
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init.patch
Type: text/x-patch
Size: 2131 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cyrus-imapd-debian-devel/attachments/20110519/854ccb54/attachment.bin>
More information about the Pkg-Cyrus-imapd-Debian-devel
mailing list