mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
87c604c1f0
launchd has some weird syntx. Apparently the program needs to be in the ProgramArguments, as Program appears to be ignored.
27 lines
811 B
XML
27 lines
811 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>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>
|
|
<string>/dev/null</string>
|
|
</dict>
|
|
</plist>
|