From 9747afe4ec916ea8f2abe83686cad24bc63f722c Mon Sep 17 00:00:00 2001 From: nemsia Date: Sat, 6 May 2017 23:44:21 +0200 Subject: [PATCH] [fix] Jenkins upgrade error --- scripts/upgrade | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index b5d1b31..f19f3e7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -62,6 +62,9 @@ RAILS_ENV=production bundle exec rails assets:precompile RAILS_ENV=production bundle exec rails db:migrate COMMANDS +# Restart Mastodon +sudo systemctl start mastodon-*.service + # Reload Nginx sudo systemctl reload nginx @@ -70,6 +73,3 @@ ynh_app_setting_set "$app" unprotected_uris "/" # Reload SSOwat configuration sudo yunohost app ssowatconf - -# Restart Mastodon -sudo systemctl start mastodon-*.service