Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
A lightweight daemon framework in C. http://www.tyrfingr.is/projects/libda…
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
libdaemon --------- author: kyle isom libdaemon is a lightweight daemon framework for OpenBSD. It provides facilities for logging and a signal handler to enable graceful shutdown, as well as file locking to ensure that only a single copy of a given daemon is running at a time. Currently, libdaemon is not threaded. supported platforms: + OpenBSD + Linux Tests ----- libdaemon ships with a 'check' target for make. It produces two binaries: src/testcore and src/testd. testd will create ~/.testd and populate it with testd.pid. After running it, you should see messages in /var/log/messages (or where ever syslog logs to) and it should show up in the process list. It can be killed using kill -SIGUSR1 $(cat ~/.testd/testd.pid)