Created
April 17, 2016 18:10
-
-
Save benbonnet/e85590d636338c6e4d10f9f040c353ed to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Prefix `bundle` with `exec` so unicorn shuts down gracefully on SIGTERM (i.e. `docker stop`) | |
exec bundle exec unicorn -c config/containers/unicorn.rb -E $RAILS_ENV; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment