Skip to content

Instantly share code, notes, and snippets.

@dmitriykuptsov
Created August 7, 2014 20:30
Show Gist options
  • Save dmitriykuptsov/9861586f55215966b7fe to your computer and use it in GitHub Desktop.
Save dmitriykuptsov/9861586f55215966b7fe to your computer and use it in GitHub Desktop.
# riemann upstart file
pre-start script
mkdir -p /var/log/riemann/
end script
respawn
respawn limit 15 5
start on runlevel [2345]
stop on runlevel [06]
script
su - riemann -c "riemann" >> /var/log/riemann/riemann.log
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment