We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03862b5 commit 7eb9bf8Copy full SHA for 7eb9bf8
src/daemon.rs
@@ -49,7 +49,7 @@ pub fn start() -> Result<()> {
49
let stderr = File::create(DEFAULT_STDERR_PATH)?;
50
stdout.set_permissions(Permissions::from_mode(0o755))?;
51
52
- let mut daemonize = Daemonize::new()
+ let daemonize = Daemonize::new()
53
.pid_file(PID_PATH) // Every method except `new` and `start`
54
.chown_pid_file(true) // is optional, see `Daemonize` documentation
55
.working_directory(DEFAULT_WORK_DIR) // for default behaviour.
0 commit comments