1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Merge pull request #22 from nemsia/patch-1

[fix] Upgrade from 1.3.3
This commit is contained in:
__cyp 2017-05-06 22:55:50 +02:00 committed by GitHub
commit b85c9cb43d

View file

@ -37,10 +37,14 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
# Stop Mastodon Services # Stop Mastodon Services
sudo systemctl stop mastodon-*.service sudo systemctl stop mastodon-*.service
# Change owner of live folder
sudo chown -R $app: $final_path/live
# Download Mastodon # Download Mastodon
sudo su - $app <<PULLCOMMANDS sudo su - $app <<PULLCOMMANDS
pushd ~/live pushd ~/live
git fetch git fetch
git reset --hard origin/master
git pull https://github.com/tootsuite/mastodon.git master git pull https://github.com/tootsuite/mastodon.git master
PULLCOMMANDS PULLCOMMANDS