Last active
December 25, 2022 18:40
-
-
Save viktorbenei/588f1080bf009e60cb44 to your computer and use it in GitHub Desktop.
Monit OS X Launch Agent Plist file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Don't forget to set the /path/to/.monitrc path! | |
* Save this into: ~/Library/LaunchAgents/vb.monit.plist | |
* Load with (auto loaded at user login): launchctl load ~/Library/LaunchAgents/vb.monit.plist | |
* Unload with: launchctl unload ~/Library/LaunchAgents/vb.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>vb.monit</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/monit</string> | |
<string>-c</string> | |
<string>/path/to/.monitrc</string> | |
<string>-I</string> | |
</array> | |
<key>KeepAlive</key> | |
<true/> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So THANK YOU SO MUCH for making this file. Literally exactly what I needed and worked perfectly.