summaryrefslogtreecommitdiff
path: root/daemon.sh
AgeCommit message (Collapse)Author
2015-05-04Add copyright years to each file.Luke Shumaker
2014-01-15daemon: don't complain if /proc/${pid} doesn't existLuke Shumaker
2014-01-14daemon: change get_ident()Luke Shumaker
The new method still uses the start time of the process, but figures and formats it differently. The new way takes the time in "jiffies" since the system booted, using `/proc/$pid/stat`. The old way used `lstart` from `ps`, which calculated the time by adding that to the boot time. This can drift though, as NTP adjusts the system time. I was frequently seeing one second discrepancies, causing duplicate processes to spawn.
2013-12-03daemon: re-think using readLuke Shumaker
2013-11-02daemon: this is the version I've been runningLuke Shumaker
2011-09-08Modify daemon.sh to use pgrep instead of ps|grepLuke Shumaker
2011-06-21I can't believe I didn't have this in git before.Luke Shumaker