aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author__cyp <cyp@rouquin.me>2017-05-07 16:08:31 +0200
committerGitHub <noreply@github.com>2017-05-07 16:08:31 +0200
commit7aec4035b81040feb41cf49c3756a87d90beb7d8 (patch)
tree56618aa93f64f64f444ac9a91104321fec414a8f
parentb85c9cb43d402baf3310f39732dbeee34dec47e3 (diff)
parent9747afe4ec916ea8f2abe83686cad24bc63f722c (diff)
downloadmastodon_ynh-7aec4035b81040feb41cf49c3756a87d90beb7d8.tar.gz
mastodon_ynh-7aec4035b81040feb41cf49c3756a87d90beb7d8.tar.bz2
mastodon_ynh-7aec4035b81040feb41cf49c3756a87d90beb7d8.zip
Merge pull request #23 from nemsia/patch-3
[fix] Jenkins upgrade error
-rw-r--r--scripts/upgrade6
1 files 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