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

RELOAD NGINX

This commit is contained in:
yalh76 2019-04-13 16:46:27 +02:00
parent 6bda8ed9c4
commit 99af162022

View file

@ -161,6 +161,11 @@ 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
#=================================================
# RELOAD NGINX
#=================================================
ynh_print_info "Reloading nginx web server..."
# Reload nginx and update ssowatch
sudo systemctl reload nginx.service
sudo yunohost app ssowatconf