1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Merge pull request #8 from nemsia/master

Make public on install and upgrade
This commit is contained in:
__cyp 2017-04-20 16:57:36 +02:00 committed by GitHub
commit 5260ee2ecf
2 changed files with 9 additions and 2 deletions

View file

@ -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
sudo systemctl reload nginx

View file

@ -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
sudo systemctl start mastodon-*.service