Use launchctl load -w
on macOS (#298)
This commit is contained in:
parent
792639b6ad
commit
3be93c54f6
|
@ -114,7 +114,7 @@ impl Action for ConfigureInitService {
|
||||||
execute_command(
|
execute_command(
|
||||||
Command::new("launchctl")
|
Command::new("launchctl")
|
||||||
.process_group(0)
|
.process_group(0)
|
||||||
.arg("load")
|
.args(&["load", "-w"])
|
||||||
.arg(DARWIN_NIX_DAEMON_DEST)
|
.arg(DARWIN_NIX_DAEMON_DEST)
|
||||||
.stdin(std::process::Stdio::null()),
|
.stdin(std::process::Stdio::null()),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue