Joachim M. Giæver 3 rokov pred
rodič
commit
2310123ddb
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  1. 3 0
      src/helper/env-wrapper

+ 3 - 0
src/helper/env-wrapper

@@ -85,4 +85,7 @@ export SERVER_URL=$(snapctl get server.url)
 export SERVER_WS_URL=$(snapctl get server.ws-url)
 export GIT_DIR="${SNAP}/usr/lib/zwavejs2mqtt/.git"
 
+export HOST="${SERVER_HOST}"
+export PORT="${SERVER_PORT}"
+
 exec "$@"