News for hackers. Stuff that matters.
Re:A simple Unix daemon in Python by nailer on Thursday July 31, 2008 @09:48PM (#263672)
The class is using /tmp for PID files. This will break your service on power outages or kernel crashes, as when your service is starting they won't be able to tell they weren't properly stopped, as all files in /tmp are cleared on reboot.

/var/tmp is the appropriate location for PID files.

There are no comments on this comment yet.