Skip to content

Instantly share code, notes, and snippets.

@allomov
Created August 28, 2018 17:20
Show Gist options
  • Save allomov/d875690428aeb36caf1f076dcd0a4e3a to your computer and use it in GitHub Desktop.
Save allomov/d875690428aeb36caf1f076dcd0a4e3a to your computer and use it in GitHub Desktop.
Xcloud@xcloud199 ~> cat /Library/LaunchDaemons/monit.plist
<?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>monit</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/monit</string>
<string>-I</string>
</array>
<key>KeepAlive</key>
<true/>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment