Skip to content

Instantly share code, notes, and snippets.

@jveldboom
Created January 21, 2015 13:44
Show Gist options
  • Save jveldboom/d9dc7ab58d5232216ec1 to your computer and use it in GitHub Desktop.
Save jveldboom/d9dc7ab58d5232216ec1 to your computer and use it in GitHub Desktop.
monit heka config
check process hekad-system with pidfile /var/run/hekad-system.pid
start program = "/bin/bash -c 'hekad --config=/usr/share/heka/conf.d/system.toml'" with timeout 60 seconds
stop = "/bin/bash -c 'kill -s SIGTERM `cat /var/run/hekad-system.pid`'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment