I\'d like a daemonizer that can turn an arbitrary, generic script or command into a daemon.
There are two common cases I\'d like to deal with:
I hav
Daemontools ( http://cr.yp.to/daemontools.html ) is a set of pretty hard-core utilities used to do this, written by dj bernstein. I have used this with some success. The annoying part about it is that none of the scripts return any visible results when you run them - just invisible return codes. But once it's running it's bulletproof.