changed stdout/stderr in daemon mode to /dev/null