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:
parent
4be756d328
commit
2c4708756b
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue