úÎx BA program is any IO computation. It also accepts a syslog handle. +The simplest possible interface to syslog. <Daemonizes a given IO computation by forking twice, closing E standard file descriptors, blocking sigHUP, setting file creation D mask, starting a new session, and changing the working directory  to root. @Turns a program into a UNIX daemon (system service) ready to be  deployed to etc/rc.d or similar startup folder. The resulting E program handles command-line arguments (start, stop, or restart). )With start option it writes out a PID to varrun/$name.pid where C $name is the executable name. If PID already exists, it refuses ; to start, guaranteeing there is only one live instance. 'With stop option it reads the PID from varrun/$name.pid and E terminates the corresponding process (first a soft kill, SIGTERM,  then a hard kill, SIGKILL). 9Another addition over the daemonize function is dropping D privileges. If a system user and group with a name that matches F the executable name exist, privileges are dropped to that user and C group. Otherwise, they are dropped to the standard daemon user  and group. AFinally, exceptions in the program are caught, logged to syslog,  and the program restarted.       hdaemonize-0.2System.Posix.DaemonizeProgramLogger daemonizeservicedforevercloseFileDescriptors blockSignal getGroupID getUserIDdropPrivilegespidFile pidExistspidReadpidWritepidLivepass