aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-05-06 23:44:21 +0200
committerGitHub <noreply@github.com>2017-05-06 23:44:21 +0200
commit9747afe4ec916ea8f2abe83686cad24bc63f722c (patch)
tree56618aa93f64f64f444ac9a91104321fec414a8f /scripts
parentb85c9cb43d402baf3310f39732dbeee34dec47e3 (diff)
downloadmastodon_ynh-9747afe4ec916ea8f2abe83686cad24bc63f722c.tar.gz
mastodon_ynh-9747afe4ec916ea8f2abe83686cad24bc63f722c.tar.bz2
mastodon_ynh-9747afe4ec916ea8f2abe83686cad24bc63f722c.zip
[fix] Jenkins upgrade error
Diffstat (limited to 'scripts')
-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