Przeglądaj źródła

Set backend port to config value.

Raphael Schneeberger 7 lat temu
rodzic
commit
c385c01d52
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      src/deb/hestia/postinst

+ 5 - 0
src/deb/hestia/postinst

@@ -63,4 +63,9 @@ if [ -f /usr/local/hestia/data/firewall/ports.conf ]; then
     rm -f /usr/local/hestia/data/firewall/ports.conf
 fi
 
+# Set backend port
+if [ ! -z "$BACKEND_PORT" ]
+    /usr/local/hestia/bin/v-change-sys-port $BACKEND_PORT
+fi
+
 exit 0