diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-05-10 11:16:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-10 11:16:12 +0200 |
commit | 51b2bf150726f8d60b97aba79086654a631620d0 (patch) | |
tree | 0ed73f102ec8081f349b8bb4729e0879a94f782c | |
parent | 2bb49fb6d0ec8aca629dbf4dfe216c13c324fc75 (diff) | |
parent | 4f493faf8062d6c7e51277527a029d277b156330 (diff) |
Merge pull request #4771 from andersk/launchd-exec
launchd: Use exec to avoid leaving the extra shell wrapper running
-rw-r--r-- | misc/launchd/org.nixos.nix-daemon.plist.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/launchd/org.nixos.nix-daemon.plist.in b/misc/launchd/org.nixos.nix-daemon.plist.in index c334639e2..f1b439840 100644 --- a/misc/launchd/org.nixos.nix-daemon.plist.in +++ b/misc/launchd/org.nixos.nix-daemon.plist.in @@ -19,7 +19,7 @@ <array> <string>/bin/sh</string> <string>-c</string> - <string>/bin/wait4path /nix/var/nix/profiles/default/bin/nix-daemon && /nix/var/nix/profiles/default/bin/nix-daemon</string> + <string>/bin/wait4path /nix/var/nix/profiles/default/bin/nix-daemon && exec /nix/var/nix/profiles/default/bin/nix-daemon</string> </array> <key>StandardErrorPath</key> <string>/var/log/nix-daemon.log</string> |