From 192573e50ccfc7fd18b8e6565f19ba82e3dc4173 Mon Sep 17 00:00:00 2001 From: casjay Date: Wed, 5 Jul 2023 09:53:12 -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/transmission.sh --- rootfs/usr/local/etc/docker/init.d/transmission.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rootfs/usr/local/etc/docker/init.d/transmission.sh b/rootfs/usr/local/etc/docker/init.d/transmission.sh index 6f04117..e342ac3 100755 --- a/rootfs/usr/local/etc/docker/init.d/transmission.sh +++ b/rootfs/usr/local/etc/docker/init.d/transmission.sh @@ -82,7 +82,7 @@ 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="sleep 20 &&" # execute script before +EXEC_PRE_SCRIPT="" # execute script before # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Is this service a web server IS_WEB_SERVER="no" @@ -121,6 +121,7 @@ __update_conf_files() { local local_trans_conf_dir="${WORKDIR:-$PWD}/.config/transmission-daemon" # define actions + mkdir -p "$local_trans_conf_dir" "/tmp/docker/.config" # create default directories for filedirs in $ADD_APPLICATION_DIRS $APPLICATION_DIRS; do @@ -150,8 +151,8 @@ __update_conf_files() { # replace variables recursively # __find_replace "" "" "$CONF_DIR/" # custom commands - mkdir -p "$local_trans_conf_dir" ln -sf "$CONF_DIR" "$local_trans_conf_dir" + ln -sf "$CONF_DIR" "/tmp/docker/.config/transmission-daemon" # other