Skip to content

Instantly share code, notes, and snippets.

@marianogg9
Created April 24, 2014 15:07
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 marianogg9/11258170 to your computer and use it in GitHub Desktop.
Save marianogg9/11258170 to your computer and use it in GitHub Desktop.
# Upstart script to start/monitor app_gem service
start on startup
respawn
chdir /path/app_gem
pre-start script
rvm 2.0
source file.env
end script
exec app_gem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment