hi ,
    thanks Gabriel ... but  r u sure if it is SYSTERM ?or is it SIGTERM ? I
am not aware of any SYSTERM signal
.. if it is SYSTERM please tell me more about it .. as google search is not
helping ..

and also is there some way for my process which is running as a daemon to
know that system was not shut down properly previously ....eg a  power
failure .. so that my program can do necessary steps if cleaning up is not
done  during its last termination

On Wed, Mar 19, 2008 at 8:25 AM, Gabriel Genellina <[EMAIL PROTECTED]>
wrote:

> En Tue, 18 Mar 2008 09:51:03 -0300, bharath venkatesh
> <[EMAIL PROTECTED]> 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
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to