Skip to content

Instantly share code, notes, and snippets.

@e1senh0rn
Created June 17, 2014 18:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save e1senh0rn/6fd44d849b08a6eea27f to your computer and use it in GitHub Desktop.
Save e1senh0rn/6fd44d849b08a6eea27f to your computer and use it in GitHub Desktop.
# percona-agent
description "Percona Agent"
start on (net-device-up
and local-filesystems
and runlevel [2345])
stop on runlevel [016]
respawn
env HOME=/usr/local/percona/percona-agent
kill timeout 10
exec $HOME/bin/percona-agent -basedir $HOME -pidfile $HOME/percona-agent.pid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment