about summary refs log tree commit diff
path: root/misc/launchd/org.nixos.nix-daemon.plist.in
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-09-02T22·35-0400
committerMatthew Bauer <mjbauer95@gmail.com>2019-09-02T22·35-0400
commit87c604c1f04ff31a68f2fa73fe5a2ed9f6ec7ac7 (patch)
tree2d2f3f366e828eabb322fadd93ba2bc0854b36f1 /misc/launchd/org.nixos.nix-daemon.plist.in
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/org.nixos.nix-daemon.plist.in')
-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 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 &amp;&amp; @bindir@/nix-daemon</string>
     </array>