-
-
Save carlanton/5355845d089f36e1489d to your computer and use it in GitHub Desktop.
A better Upstart script for hekad.
This file contains hidden or 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
# hekad - http://hekad.readthedocs.org/en/latest/ -- The hekad daemon is the core component of the heka project | |
# | |
# Configure hekad in /etc/heka.d/ | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
respawn limit unlimited | |
# prevent respawning more than once every 5 seconds | |
post-stop exec sleep 5 | |
setuid heka | |
setgid heka | |
exec /usr/bin/hekad -config=/etc/heka.d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment