http://0pointer.de/lennart/projects/libdaemon/