From 6c657f46a410839a42a13ab9263a4976cb560ace Mon Sep 17 00:00:00 2001 From: casjay Date: Wed, 5 Jul 2023 00:03:00 -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/zz-default.sh rootfs/usr/local/share/template-files/config/.gitkeep --- rootfs/usr/local/etc/docker/init.d/zz-default.sh | 13 +++++++------ .../usr/local/share/template-files/config/.gitkeep | 0 2 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 rootfs/usr/local/share/template-files/config/.gitkeep diff --git a/rootfs/usr/local/etc/docker/init.d/zz-default.sh b/rootfs/usr/local/etc/docker/init.d/zz-default.sh index 39303e8..de1fb60 100755 --- a/rootfs/usr/local/etc/docker/init.d/zz-default.sh +++ b/rootfs/usr/local/etc/docker/init.d/zz-default.sh @@ -78,11 +78,11 @@ DATABASE_DIR="${DATABASE_DIR_TRANSMISSION:-/data/db/transmission}" SERVICE_PORT="" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # execute command variables -SERVICE_UID="0" # set the user id -SERVICE_USER="root" # execute command as another user -EXEC_CMD_BIN="transmission-daemon" # command to execute -EXEC_CMD_ARGS="--config-dir /config/transmission -f" # command arguments -EXEC_PRE_SCRIPT="" # execute script before +SERVICE_UID="0" # set the user id +SERVICE_USER="root" # execute command as another user +EXEC_CMD_BIN="transmission-daemon" # command to execute +EXEC_CMD_ARGS="-f --config-dir $CONF_DIR" # command arguments +EXEC_PRE_SCRIPT="" # execute script before # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Is this service a web server IS_WEB_SERVER="no" @@ -195,7 +195,8 @@ __post_execute() { sleep 60 # how long to wait before executing echo "Running post commands" # message # execute commands - + mkdir -p "$PWD/.config" + ln -sf "$CONF_DIR" "$PWD/.config/transmission-daemon" return $exitCode } # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/.gitkeep b/rootfs/usr/local/share/template-files/config/.gitkeep deleted file mode 100644 index e69de29..0000000