CVSROOT:        /cvs
Module name:    src
Changes by:     e...@cvs.openbsd.org    2016/09/08 06:06:43

Modified files:
        usr.sbin/smtpd : ca.c control.c lka.c mproc.c pony.c queue.c 
                         scheduler.c smtpd.c 

Log message:
Streamline the daemon shutdown sequence.

Only the parent process handles SIGTERM and SIGINT.  Upon receiving one
of those, it closes all imsg sockets and waitpid() for the children. It
fatal()s if one of the sockets is closed unexpectedly.  Other processes
exit() "normally" when one of the imsg sockets is closed.

ok gilles@ sunil@

Reply via email to