Require a log file when running as a daemon.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Reopen the logger after daemonizing.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>