Skip to content

Commit 7f5f835

Browse files
Remove obsolete ports.conf
1 parent 5bcaaff commit 7f5f835

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

bin/v-change-sys-port

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ else
7474
sed -i "/listen/c\ listen $PORT ssl;" $HESTIA/nginx/conf/nginx.conf
7575
sed -i "/password_hestia_port/c\$rcmail_config['password_hestia_port'] = '$PORT';" /etc/roundcube/plugins/password/config.inc.php
7676
sed -i "/COMMENT='HESTIA'/c\RULE='2' ACTION='ACCEPT' PROTOCOL='TCP' PORT='$PORT' IP='0.0.0.0/0' COMMENT='HESTIA' SUSPENDED='no' TIME='07:40:16' DATE='2014-05-25'" $HESTIA/data/firewall/rules.conf
77-
sed -i s/$ORIGINAL_PORT/$PORT/g $HESTIA/data/firewall/ports.conf
7877

7978
# Restart services
8079
$HESTIA/bin/v-restart-service iptables

0 commit comments

Comments
 (0)