diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/upgrade | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/upgrade b/scripts/upgrade index ab4bf58..b5d1b31 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -37,10 +37,14 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf # Stop Mastodon Services sudo systemctl stop mastodon-*.service +# Change owner of live folder +sudo chown -R $app: $final_path/live + # Download Mastodon sudo su - $app <<PULLCOMMANDS pushd ~/live git fetch +git reset --hard origin/master git pull https://github.com/tootsuite/mastodon.git master PULLCOMMANDS |
