We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c134835 commit 5bcaaffCopy full SHA for 5bcaaff
src/deb/hestia/postinst
@@ -57,4 +57,10 @@ fi
57
if [ "$DNS_SYSTEM" = 'bind9' ] && [ ! -f /etc/apparmor.d/local/usr.sbin.named ]; then
58
echo "/home/** rwm," >> /etc/apparmor.d/local/usr.sbin.named 2> /dev/null
59
fi
60
+
61
+# Remove obsolete ports.conf if exist.
62
+if [ -f /usr/local/hestia/data/firewall/ports.conf ]; then
63
+ rm -f /usr/local/hestia/data/firewall/ports.conf
64
+fi
65
66
exit 0
0 commit comments