Commit df3e8fac authored by Committed by Faidon Liambotis
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.
Showing with 22 additions and 19 deletions