aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
author__cyp <cyp@rouquin.me>2017-04-20 16:57:36 +0200
committerGitHub <noreply@github.com>2017-04-20 16:57:36 +0200
commit5260ee2ecf37b6973220bf069528507018857ea2 (patch)
tree33c341e046677275000b902350f6d23bcdd485e0 /scripts/install
parent7c60ab9d4b0edc139aec323d6e94b44178034d00 (diff)
parent45e2837a44ce33ae145a18a4e47503e859b913b3 (diff)
downloadmastodon_ynh-5260ee2ecf37b6973220bf069528507018857ea2.tar.gz
mastodon_ynh-5260ee2ecf37b6973220bf069528507018857ea2.tar.bz2
mastodon_ynh-5260ee2ecf37b6973220bf069528507018857ea2.zip
Merge pull request #8 from nemsia/master
Make public on install and upgrade
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/install b/scripts/install
index cf4b720..ed2b1e7 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
+# Unprotected url
+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