Example of signaling and creating a python daemon

David Pratt fairwinds at eastlink.ca
Thu Sep 15 12:42:11 EDT 2005


Hi jepler!  This is a nice example.  I will study it so I can better 
see what each part is doing.  I may have a couple of questions once I 
have done this because I have not yet daemonized a process and I want 
to be sure I understand before I attempt to run anything I create.

Many thanks.
David


On Thursday, September 15, 2005, at 12:31 PM, jepler at unpythonic.net 
wrote:

> Here's a program I use to control volume.  Run one way, it waits for a
> Unix signal and adjusts the volume according to the signal received.
> Run another way, the PID of the daemon process is determined and a
> signal is sent according to a commandline argument.



More information about the Python-list mailing list