Redirect stdin/stderr/stdout to /dev/null in daemon mode