Skip to content

Instantly share code, notes, and snippets.

@blahutka
Created July 1, 2011 17:49
Show Gist options
  • Save blahutka/1059062 to your computer and use it in GitHub Desktop.
Save blahutka/1059062 to your computer and use it in GitHub Desktop.
Procfile
# DON'T PUT THIS COMMENT IN THE Procfile
# FOR DEVELOPMENT
# Run from command line with: bundle exec rvmsudo foreman start
# ----------------------------------------------------------------
app: bundle exec unicorn -p 3000 -c config/unicorn.rb
web: /usr/sbin/nginx -g "daemon off;"
# FOR PRODUCTION
# export with:foreman export upstart /etc/init -c web=2 -c worker=4 -c clock=1
... add script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment