aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-04-20 16:34:31 +0200
committerGitHub <noreply@github.com>2017-04-20 16:34:31 +0200
commitc0cf1c131c4ffd0500a3819d75b2d0054b731d97 (patch)
tree4ac73f7b62f7c04b236dad689ccbe93bf9827b60 /scripts
parent7c60ab9d4b0edc139aec323d6e94b44178034d00 (diff)
downloadmastodon_ynh-c0cf1c131c4ffd0500a3819d75b2d0054b731d97.tar.gz
mastodon_ynh-c0cf1c131c4ffd0500a3819d75b2d0054b731d97.tar.bz2
mastodon_ynh-c0cf1c131c4ffd0500a3819d75b2d0054b731d97.zip
Make public on install
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/install b/scripts/install
index cf4b720..2879646 100644
--- a/scripts/install
+++ b/scripts/install
@@ -192,8 +192,11 @@ sudo sed -i "s@__APP__@$app@g" /etc/cron.d/$app
# Restart crontab
sudo systemctl restart cron
+# Set app public
+ynh_app_setting_set "$app" unprotected_uris "/"
+
# Reload SSOwat configuration
sudo yunohost app ssowatconf
# Reload Nginx
-sudo systemctl reload nginx \ No newline at end of file
+sudo systemctl reload nginx