Skip to content

Instantly share code, notes, and snippets.

@rchampourlier
Created October 13, 2011 07:04
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 rchampourlier/1283615 to your computer and use it in GitHub Desktop.
Save rchampourlier/1283615 to your computer and use it in GitHub Desktop.
Template for monit configuration file to monitor unicorn instance
check process unicorn
with pidfile <%= "#{unicorn_pid}" %>
start program = "<%= "#{startup_script_path}" %> start"
stop program = "<%= "#{startup_script_path}" %> stop"
group unicorn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment