From 98f1a87624a25c6df4df1ae4c2189a1fa82e185b Mon Sep 17 00:00:00 2001 From: casjay Date: Wed, 10 Sep 2025 22:22:39 -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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 7221c04..a606634 100755 --- a/rootfs/usr/local/etc/docker/init.d/01-lenpaste.sh +++ b/rootfs/usr/local/etc/docker/init.d/01-lenpaste.sh @@ -108,7 +108,7 @@ RUNAS_USER="root" # normally root # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # execute command variables - keep single quotes variables will be expanded later EXEC_CMD_BIN='lenpaste' # command to execute -EXEC_CMD_ARGS='$LENPASTE_RUN_CMMANDS' # command arguments +EXEC_CMD_ARGS='$LENPASTE_RUN_COMMANDS' # command arguments EXEC_PRE_SCRIPT='' # execute script before # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Is this service a web server @@ -184,7 +184,7 @@ ADDITIONAL_CONFIG_DIRS="" CMD_ENV="" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Overwrite based on file/directory -if ! echo "$LENPASTE_ADDRESS" | grep -q ":[0-9][0-9]"; then +if ! echo "$LENPASTE_ADDRESS" | grep -q ':[0-9][0-9]'; then LENPASTE_ADDRESS="$LENPASTE_ADDRESS:$SERVICE_PORT" fi # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -325,7 +325,7 @@ __update_conf_files() { if [ -d "/data/lenpaste/html/themes" ]; then RUN_CMD+="-ui-themes-dir /data/lenpaste/html/themes," fi - LENPASTE_RUN_CMMANDS="${RUN_CMD//,/ }" + LENPASTE_RUN_COMMANDS="${RUN_CMD//,/ }" # exit function return $exitCode }