diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/install | 5 | ||||
| -rw-r--r-- | scripts/upgrade | 6 |
2 files changed, 9 insertions, 2 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 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 |
