mirror of
https://github.com/YunoHost-Apps/syncthing_ynh.git
synced 2024-09-03 20:26:23 +02:00
reorder CLOSE A PORT
This commit is contained in:
parent
729c2caa7b
commit
c9ae959fef
1 changed files with 7 additions and 6 deletions
|
@ -54,12 +54,6 @@ sudo mv $SYNCHOME $SYNCHOME.old
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# CLOSE A PORT
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
# Close port in firewall
|
|
||||||
sudo yunohost firewall disallow TCP $SYNCPORT
|
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -86,6 +80,13 @@ sudo rm /etc/nginx/conf.d/$domain.d/syncthing.conf
|
||||||
sudo systemctl reload nginx.service
|
sudo systemctl reload nginx.service
|
||||||
sudo yunohost app ssowatconf
|
sudo yunohost app ssowatconf
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# CLOSE A PORT
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
# Close port in firewall
|
||||||
|
sudo yunohost firewall disallow TCP $SYNCPORT
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue