Created
February 24, 2016 01:57
-
-
Save devifr/953ef0cd3aa95e0f2c74 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
| #!/bin/bash | |
| RBENV_ROOT=/home/ubuntu/.rbenv/ | |
| export RBENV_ROOT | |
| export PATH="$RBENV_ROOT/bin:$PATH" | |
| echo " [+] Activate RBENV" | |
| eval "$(rbenv init -)" | |
| cd /home/ubuntu/ciptadana_asset_management/current | |
| echo " [+] Restart unicorn ciptadana asset management" | |
| exec `bundle exec unicorn -E staging -c /home/ubuntu/ciptadana_asset_management/current/config/unicorn.rb &` | |
| echo " [+] Done !!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment