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

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Tue Mar 18 22:55:00 EDT 2008


En Tue, 18 Mar 2008 09:51:03 -0300, bharath venkatesh  
<bharathv6.project at gmail.com> 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