aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
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..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