From d86c3f068ba176d5b1d6d0749eba9d0782aaf9d3 Mon Sep 17 00:00:00 2001 From: casjay Date: Wed, 10 Sep 2025 22:11:36 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/usr/local/etc/docker/init.d/01-lenpaste.sh --- rootfs/usr/local/etc/docker/init.d/01-lenpaste.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rootfs/usr/local/etc/docker/init.d/01-lenpaste.sh b/rootfs/usr/local/etc/docker/init.d/01-lenpaste.sh index 8ce7d75..7221c04 100755 --- a/rootfs/usr/local/etc/docker/init.d/01-lenpaste.sh +++ b/rootfs/usr/local/etc/docker/init.d/01-lenpaste.sh @@ -184,7 +184,9 @@ ADDITIONAL_CONFIG_DIRS="" CMD_ENV="" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Overwrite based on file/directory - +if ! echo "$LENPASTE_ADDRESS" | grep -q ":[0-9][0-9]"; then +LENPASTE_ADDRESS="$LENPASTE_ADDRESS:$SERVICE_PORT" +fi # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Per Application Variables or imports