python-daemon interaction with multiprocessing (secure-smtpd)

Antoon Pardon antoon.pardon at rece.vub.ac.be
Wed May 7 15:45:28 EDT 2014


op 07-05-14 21:11, Grant Edwards schreef:
> 
> Mainly, I'm just trying to figure out the right way to terminate the
> server from an /etc/init script.
> 
As far as I understand you have to make sure that your daemon is a proces
group leader. All the children it will fork will then belong to its
proces group. You can then normally kill all process with pkill -g ...

-- 
Antoon Pardon



More information about the Python-list mailing list