fix: startup script sources wrong config file for custom ports

The start-both.sh script was sourcing paqctl.conf which doesn't exist.
Changed to settings.conf where LISTEN_PORT and GFK_VIO_PORT are saved.

This caused iptables rules to always use default ports (8443/45000)
even when user configured different ports, resulting in port mismatch.
This commit is contained in:
SamNet-dev
2026-02-04 17:37:53 -06:00
parent c619da9d96
commit ec34a28c50

View File

@@ -1600,7 +1600,7 @@ GFK_DIR="\${INSTALL_DIR}/gfk"
ROLE="${ROLE}"
# Source config for ports
[ -f "\${INSTALL_DIR}/paqctl.conf" ] && . "\${INSTALL_DIR}/paqctl.conf"
[ -f "\${INSTALL_DIR}/settings.conf" ] && . "\${INSTALL_DIR}/settings.conf"
# Apply firewall rules (server only)
if [ "\$ROLE" = "server" ]; then