Skip to content

Instantly share code, notes, and snippets.

@sneak
Last active September 23, 2020 23:11
Show Gist options
  • Save sneak/2a11c6eb0e9239df2b99f200d4f6e299 to your computer and use it in GitHub Desktop.
Save sneak/2a11c6eb0e9239df2b99f200d4f6e299 to your computer and use it in GitHub Desktop.
<?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>Label</key>
<string>berlin.sneak.runit</string>
<key>ProgramArguments</key>
<array>
<string>/nix/store/z19ahyrb7fgzsmysxiz81q7q55m6sza2-runit-2.1.2/bin/runsvdir</string>
<string>-P</string>
<string>/usr/local/var/sv</string>
</array>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/nix/store/z19ahyrb7fgzsmysxiz81q7q55m6sza2-runit-2.1.2/bin</string>
</dict>
<key>UserName</key>
<string>root</string>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>SoftResourceLimits</key>
<dict>
<key>NumberOfFiles</key>
<integer>65535</integer>
</dict>
<key>StandardOutPath</key>
<string>/var/log/runsvdir.out.log</string>
<key>StandardErrorPath</key>
<string>/var/log/runsvdir.err.log</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment