daemonize and syslog support