From 9f6309920731e08de209afab16ace1e10b9d851b Mon Sep 17 00:00:00 2001 From: nemsia Date: Sat, 6 May 2017 20:35:26 +0200 Subject: [PATCH] [fix] Owner of live --- scripts/upgrade | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 672900f..b5d1b31 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -37,6 +37,9 @@ 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 <