Skip to content

Commit

Permalink
Update daemon.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
0x676e67 committed Mar 12, 2024
1 parent 03862b5 commit 7eb9bf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub fn start() -> Result<()> {
let stderr = File::create(DEFAULT_STDERR_PATH)?;
stdout.set_permissions(Permissions::from_mode(0o755))?;

let mut daemonize = Daemonize::new()
let daemonize = Daemonize::new()
.pid_file(PID_PATH) // Every method except `new` and `start`
.chown_pid_file(true) // is optional, see `Daemonize` documentation
.working_directory(DEFAULT_WORK_DIR) // for default behaviour.
Expand Down

0 comments on commit 7eb9bf8

Please sign in to comment.