Re: smtpd shutdown cleanup

2016-09-07 Thread Gilles Chehade
On Tue, Sep 06, 2016 at 11:31:04PM +0200, Eric Faurot wrote: > Previously, all processes would shutdown on receiving SIGINT or SIGTERM. > When going down, the parent process would kill all the other process and > waitpid() them. > > Now, only the parent process handles SIGTERM and SIGINT, other

smtpd shutdown cleanup

2016-09-06 Thread Eric Faurot
Previously, all processes would shutdown on receiving SIGINT or SIGTERM. When going down, the parent process would kill all the other process and waitpid() them. Now, only the parent process handles SIGTERM and SIGINT, other processes ignore them. Upon receiving one of these signals, the parent