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 5bcaaff commit 7f5f835Copy full SHA for 7f5f835
bin/v-change-sys-port
@@ -74,7 +74,6 @@ else
74
sed -i "/listen/c\ listen $PORT ssl;" $HESTIA/nginx/conf/nginx.conf
75
sed -i "/password_hestia_port/c\$rcmail_config['password_hestia_port'] = '$PORT';" /etc/roundcube/plugins/password/config.inc.php
76
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
78
79
# Restart services
80
$HESTIA/bin/v-restart-service iptables
0 commit comments