diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-09-02T22·35-0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2019-09-02T22·35-0400 |
commit | 87c604c1f04ff31a68f2fa73fe5a2ed9f6ec7ac7 (patch) | |
tree | 2d2f3f366e828eabb322fadd93ba2bc0854b36f1 | |
parent | 800fba1037ad97ff5e6d9acf9e820a30f0922f59 (diff) |
Fix launchd program args
launchd has some weird syntx. Apparently the program needs to be in the ProgramArguments, as Program appears to be ignored.
-rw-r--r-- | misc/launchd/org.nixos.nix-daemon.plist.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/misc/launchd/org.nixos.nix-daemon.plist.in b/misc/launchd/org.nixos.nix-daemon.plist.in index 6bc448d285ea..b340610e900c 100644 --- a/misc/launchd/org.nixos.nix-daemon.plist.in +++ b/misc/launchd/org.nixos.nix-daemon.plist.in @@ -13,10 +13,9 @@ <true/> <key>RunAtLoad</key> <true/> - <key>Program</key> - <string>/bin/sh</string> <key>ProgramArguments</key> <array> + <string>/bin/sh</string> <string>-c</string> <string>/bin/wait4path @bindir@/nix-daemon && @bindir@/nix-daemon</string> </array> |