1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/syncthing_ynh.git synced 2024-09-03 20:26:23 +02:00

SETUP SSOWAT

This commit is contained in:
yalh76 2019-04-13 16:47:45 +02:00
parent 4be756d328
commit 2c4708756b

View file

@ -161,6 +161,14 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/syncthing.conf
sudo yunohost app removeaccess syncthing
sudo yunohost app addaccess syncthing -u $user
#=================================================
# SETUP SSOWAT
#=================================================
ynh_print_info "Configuring SSOwat..."
# Make app public
ynh_app_setting_set $app unprotected_uris "/"
#=================================================
# RELOAD NGINX
#=================================================
@ -168,8 +176,6 @@ ynh_print_info "Reloading nginx web server..."
# Reload nginx and update ssowatch
sudo systemctl reload nginx.service
sudo yunohost app ssowatconf
#=================================================
# END OF SCRIPT