Hi, On Tue, Jun 11, 2013 at 06:13:13PM +0200, Jason A. Donenfeld wrote: > One thing in particular I'm interested in is the daemonization logic: > > What's the right way to start it up and shut it down? Starting: smtpd. > Okay, solved. > > But shutting down -- smtpctl? Or is this the same as sending SIGTERM > to the master process? What's the best way to handle this? >
Interesting question with simple answer: By design, the daemon can never be interrupted "at the wrong time". It is completely safe to kill it with a signal, it won't leave it in any kind of weird state. Alternatively, you can use "smtpctl stop" which ... will tell the parent process to raise a signal ;-) -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this email because you are subscribed to mailing list: [email protected] To unsubscribe, send mail with subject: [[email protected]] unregister
