forked from lix-project/lix
800fba1037
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.
29 lines
832 B
XML
29 lines
832 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>EnvironmentVariables</key>
|
|
<dict>
|
|
<key>OBJC_DISABLE_INITIALIZE_FORK_SAFETY</key>
|
|
<string>YES</string>
|
|
</dict>
|
|
<key>Label</key>
|
|
<string>org.nixos.nix-daemon</string>
|
|
<key>KeepAlive</key>
|
|
<true/>
|
|
<key>RunAtLoad</key>
|
|
<true/>
|
|
<key>Program</key>
|
|
<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>
|
|
<string>/dev/null</string>
|
|
</dict>
|
|
</plist>
|