diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-09-03 12:10:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-03 12:10:32 +0200 |
commit | 918717f3b5fa69c89e3393f806ff263f90798567 (patch) | |
tree | b6611ab3dfc651acd34c8a0cdb7cdd2c15c59950 /misc | |
parent | 84de8210040580ce7189332b43038d52c56a9689 (diff) | |
parent | 87c604c1f04ff31a68f2fa73fe5a2ed9f6ec7ac7 (diff) |
Merge pull request #3066 from matthewbauer/wait4path
Use wait4path on org.nixos.nix-daemon.plist
Diffstat (limited to 'misc')
-rw-r--r-- | misc/launchd/org.nixos.nix-daemon.plist.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/misc/launchd/org.nixos.nix-daemon.plist.in b/misc/launchd/org.nixos.nix-daemon.plist.in index 92ed12fa5..b340610e9 100644 --- a/misc/launchd/org.nixos.nix-daemon.plist.in +++ b/misc/launchd/org.nixos.nix-daemon.plist.in @@ -13,8 +13,12 @@ <true/> <key>RunAtLoad</key> <true/> - <key>Program</key> - <string>@bindir@/nix-daemon</string> + <key>ProgramArguments</key> + <array> + <string>/bin/sh</string> + <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> |