Skip to content

Commit c385c01

Browse files
committed
Set backend port to config value.
1 parent 600922c commit c385c01

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/deb/hestia/postinst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,9 @@ if [ -f /usr/local/hestia/data/firewall/ports.conf ]; then
6363
rm -f /usr/local/hestia/data/firewall/ports.conf
6464
fi
6565

66+
# Set backend port
67+
if [ ! -z "$BACKEND_PORT" ]
68+
/usr/local/hestia/bin/v-change-sys-port $BACKEND_PORT
69+
fi
70+
6671
exit 0

0 commit comments

Comments
 (0)