Simple TCP Server || Daemonize || Continuous
Metnetsky
matt at uberstats.com
Tue Feb 4 05:57:18 EST 2003
<posted & mailed>
Alex Martelli wrote:
> Metnetsky wrote:
> ...
>> sure I can get). The big thing here is the transformation into a daemon.
>> How can I make this python script fork itself away from it's parent?
>
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66012
>
>
> Alex
Just about perfect, thank you. It however raises the question: what needs
to be modified to allow this daemon to be started by INETD? What should be
removed to make this capable of being an INETD daemon? And how can I have
INETD start a python script on boot?
Thanks in advance,
~ Metnetsky
More information about the Python-list
mailing list