Use wait4path on org.nixos.nix-daemon.plist

When using a volume, the nix-daemon path may not exist. To avoid this
issue, we must use the wait4path tool. This should solve one of the
issues in multi-user on macOS Catalina.
This commit is contained in:
Matthew Bauer 2019-08-27 10:57:09 -04:00
parent 324a5dc92f
commit 800fba1037

View file

@ -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 &amp;&amp; @bindir@/nix-daemon</string>
</array>
<key>StandardErrorPath</key>
<string>/var/log/nix-daemon.log</string>
<key>StandardOutPath</key>