Skip to content

Instantly share code, notes, and snippets.

@johntdyer
Created October 1, 2014 12:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johntdyer/89b13d74351ae2abf752 to your computer and use it in GitHub Desktop.
Save johntdyer/89b13d74351ae2abf752 to your computer and use it in GitHub Desktop.
com.tropo.sensu.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>com.tropo.sensu</string>
<key>ProgramArguments</key>
<array>
<string>/var/root/.rvm/bin/launchctl_sensu-client</string>
<string>-c/var/root/etc/sensu/config.json</string>
<string>-d/var/root/etc/sensu/conf.d/</string>
<string>-l/var/log/sensu.out</string>
<string>-b</string>
</array>
<key>LaunchOnlyOnce</key><true/>
<key>RunAtLoad</key><true/>
<key>KeepAlive</key><true/>
<key>WorkingDirectory</key> <string>/var/root/etc</string>
<key>StandardOutPath</key> <string>/tmp/sensu.out</string>
<key>StandardErrorPath</key> <string>/tmp/sensu.err</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment