Created
November 12, 2017 02:07
-
-
Save Mnkai/1cc230385a6bc65bd8446cac62cce6fe to your computer and use it in GitHub Desktop.
Bash script file for updating mastodon bundle
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 | |
# Delete current bundles | |
sudo -u mastodon rm -rf /var/lib/mastodon/live/vendor/bundle | |
# Build new bundles | |
cd /var/lib/mastodon/live | |
sudo -u mastodon bundle install --deployment --without development test | |
# Start mastodon services | |
systemctl start 'mastodon-*' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment