create a daemonizer
import dk "daemonkit"
import "os"
...
func main() {
daemon := dk.NewDaemonizer("/tmp")
daemon.WatchCli(os.Args)
}
cli usage
usage: daemonizer {start|stop|restart} prog ...args
create a daemonizer, or add daemon functionality to an existing program
GoNOASSERTION