Update v-change-vesta-port

This commit is contained in:
myvesta 2021-07-17 13:22:51 +02:00 committed by GitHub
commit f80cbe955f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,6 +47,7 @@ fi
sed -i "s|'$oldport'|'$port'|g" $VESTA/data/firewall/rules.conf
$VESTA/bin/v-update-firewall
systemctl restart fail2ban.service
sed -i "s|'$oldport'|'$port'|g" /etc/iptables.rules
systemctl restart vesta
#----------------------------------------------------------#