diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/launchd/org.nixos.nix-daemon.plist.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/misc/launchd/org.nixos.nix-daemon.plist.in b/misc/launchd/org.nixos.nix-daemon.plist.in index 92ed12fa5..6bc448d28 100644 --- a/misc/launchd/org.nixos.nix-daemon.plist.in +++ b/misc/launchd/org.nixos.nix-daemon.plist.in @@ -14,7 +14,12 @@ <key>RunAtLoad</key> <true/> <key>Program</key> - <string>@bindir@/nix-daemon</string> + <string>/bin/sh</string> + <key>ProgramArguments</key> + <array> + <string>-c</string> + <string>/bin/wait4path @bindir@/nix-daemon && @bindir@/nix-daemon</string> + </array> <key>StandardErrorPath</key> <string>/var/log/nix-daemon.log</string> <key>StandardOutPath</key> |