Fixed firewall rules restoring on system reboot

devel
Alexey Berezhok 7 months ago
parent be4171edb0
commit ef861e9c28

@ -185,7 +185,7 @@ if [ -n "$FIREWALL_EXTENSION" ]; then
fi
# Clean up and saving rules to the master iptables file
if [ -d "/etc/sysconfig" ]; then
if [ -d "/etc/sysconfig" ] && [ ! -e /etc/redhat-release ]; then
/sbin/iptables-save | sed -e 's/[[0-9]\+:[0-9]\+]/[0:0]/g' -e '/^-A fail2ban-[A-Z]\+ -s .\+$/d' > /etc/sysconfig/iptables
else
/sbin/iptables-save | sed -e 's/[[0-9]\+:[0-9]\+]/[0:0]/g' -e '/^-A fail2ban-[A-Z]\+ -s .\+$/d' > /etc/iptables.rules

@ -2,8 +2,8 @@
%global _hardened_build 1
Name: hestia
Version: 1.8.5
Release: 1%{dist}.bayrepo.1
Version: 1.8.6
Release: 1%{dist}
Summary: Hestia Control Panel
Group: System Environment/Base
License: GPLv3
@ -179,6 +179,9 @@ fi
%{_tmpfilesdir}/%{name}.conf
%changelog
* Thu Sep 05 2024 Alexey Berezhok <a@bayrepo.ru> - 1.8.6-1
- Fixed firewall rules restoring on system reboot
* Fri Aug 30 2024 Alexey Berezhok <a@bayrepo.ru> - 1.8.5-1.bayrepo.1
- Added php cli selector support
- Move mo/po files local

Loading…
Cancel
Save