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... O. On Thu, May 19, 2011 at 19:25, Steven Kurylo <steven.kur...@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-de...@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-cyrus-imapd-debian-devel > -- Ondřej Surý <ond...@sury.org> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org