automatically doing some cleaning-up by the process when the systems shuts down

Gabriel Genellina gagsl-py2 at
Wed Mar 19 03:55:00 CET 2008

En Tue, 18 Mar 2008 09:51:03 -0300, bharath venkatesh  
<bharathv6.project at> escribió:

>       my programs runs as daemon and it does some logging .. when system
> shuts down .. which may be done manually . i  want my process  do some
> cleaning up automatically such as writing in to the log file when  the
> process terminats   before the system shuts down

handling the SYSTERM signal?

Gabriel Genellina

More information about the Python-list mailing list