From f64cd9ea284be03816b7d8ccac2e5a30fcff50f5 Mon Sep 17 00:00:00 2001 From: Ingo Ratsdorf Date: Wed, 10 Sep 2025 08:57:56 +1200 Subject: [PATCH] Update install/ubuntu/start.ubuntu.sh Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- install/ubuntu/start.ubuntu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/ubuntu/start.ubuntu.sh b/install/ubuntu/start.ubuntu.sh index 78c986b2..d6da86b1 100644 --- a/install/ubuntu/start.ubuntu.sh +++ b/install/ubuntu/start.ubuntu.sh @@ -110,13 +110,13 @@ sudo ln -s "${INSTALL_PATH}/install/ubuntu/$NGINX_CONF_FILE" $NGINX_CONFIG_FILE # Use user-supplied port if set if [ -n "${PORT}" ]; then echo "[INSTALL] Setting webserver to user-supplied port ($PORT)" - sudo sed -i 's/listen 20211/listen '"$PORT"'/g' $NGINX_CONFIG_FILE + sudo sed -i 's/listen 20211/listen '"$PORT"'/g' "$NGINX_CONFIG_FILE" fi # Change web interface address if set if [ -n "${LISTEN_ADDR}" ]; then echo "[INSTALL] Setting webserver to user-supplied address (${LISTEN_ADDR})" - sed -ie 's/listen /listen '"${LISTEN_ADDR}":'/g' $NGINX_CONFIG_FILE + sed -i -e 's/listen /listen '"${LISTEN_ADDR}":'/g' "$NGINX_CONFIG_FILE" fi # Change php version