Skip to content

Instantly share code, notes, and snippets.

@xorrior
Created January 9, 2018 05:44
Show Gist options
  • Save xorrior/510b765d3d46c53618c5b15de7046633 to your computer and use it in GitHub Desktop.
Save xorrior/510b765d3d46c53618c5b15de7046633 to your computer and use it in GitHub Desktop.
Sample Plist for emond
<?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">
<array>
<dict>
<key>name</key>
<string>sample rule</string>
<key>enabled</key>
<true/>
<key>eventTypes</key>
<array>
<string>startup</string>
</array>
<key>allowPartialCriterionMatch</key>
<false/>
<key>criterion</key>
<array>
<dict>
<key>operator</key>
<string>True</string>
</dict>
</array>
<key>actions</key>
<array>
<dict>
<key>message</key>
<string>Event Monitor started at ${builtin:now}</string>
<key>type</key>
<string>Log</string>
<key>logLevel</key>
<string>Notice</string>
<key>logType</key>
<string>syslog</string>
</dict>
</array>
</dict>
</array>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment