aboutsummaryrefslogtreecommitdiff
path: root/misc/launchd
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-09-02 18:35:10 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2019-09-02 18:35:10 -0400
commit87c604c1f04ff31a68f2fa73fe5a2ed9f6ec7ac7 (patch)
tree2d2f3f366e828eabb322fadd93ba2bc0854b36f1 /misc/launchd
parent800fba1037ad97ff5e6d9acf9e820a30f0922f59 (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.
Diffstat (limited to 'misc/launchd')
-rw-r--r--misc/launchd/org.nixos.nix-daemon.plist.in3
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 6bc448d28..b340610e9 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 &amp;&amp; @bindir@/nix-daemon</string>
</array>