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:
commit
5260ee2ecf
2 changed files with 9 additions and 2 deletions
|
@ -192,6 +192,9 @@ 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
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue