aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-04-20 16:35:44 +0200
committerGitHub <noreply@github.com>2017-04-20 16:35:44 +0200
commitf62443160afc62e0bce26264a86248fa7cbdb756 (patch)
treef7bf2766409c80f7814c57004a7d419024afffe6 /scripts
parentc0cf1c131c4ffd0500a3819d75b2d0054b731d97 (diff)
downloadmastodon_ynh-f62443160afc62e0bce26264a86248fa7cbdb756.tar.gz
mastodon_ynh-f62443160afc62e0bce26264a86248fa7cbdb756.tar.bz2
mastodon_ynh-f62443160afc62e0bce26264a86248fa7cbdb756.zip
Make public on upgrade
Diffstat (limited to 'scripts')
-rw-r--r--scripts/upgrade6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index 1dffb98..608974f 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -51,5 +51,9 @@ COMMANDS
# Reload Nginx
sudo systemctl reload nginx
+
+# Set app public
+ynh_app_setting_set "$app" unprotected_uris "/"
+
# Restart Mastodon
-sudo systemctl start mastodon-*.service \ No newline at end of file
+sudo systemctl start mastodon-*.service