Created
March 27, 2014 12:00
-
-
Save vxst/9806041 to your computer and use it in GitHub Desktop.
This file contains 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 | |
cd /home/git/gitlab | |
sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production | |
sudo service gitlab stop | |
cd /home/git/gitlab | |
sudo -u git -H ruby script/upgrade.rb -y | |
sudo service gitlab start | |
sudo service nginx restart | |
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production | |
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment