Handle pidfile properly, redirect stderr in daemon
Handle pidfile creation properly, as part of daemonization process. Parse config file and setup logging before daemonization. Redirect stderr to logfile upon daemonization, otherwise numerous unexpected exceptions get lost.
Please register or sign in to comment