mirror of
https://github.com/casjaysdevdocker/transmission
synced 2025-01-18 00:34:26 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/zz-default.sh rootfs/usr/local/share/template-files/config/.gitkeep
This commit is contained in:
parent
d8562e26c0
commit
6c657f46a4
@ -78,11 +78,11 @@ DATABASE_DIR="${DATABASE_DIR_TRANSMISSION:-/data/db/transmission}"
|
|||||||
SERVICE_PORT=""
|
SERVICE_PORT=""
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# execute command variables
|
# execute command variables
|
||||||
SERVICE_UID="0" # set the user id
|
SERVICE_UID="0" # set the user id
|
||||||
SERVICE_USER="root" # execute command as another user
|
SERVICE_USER="root" # execute command as another user
|
||||||
EXEC_CMD_BIN="transmission-daemon" # command to execute
|
EXEC_CMD_BIN="transmission-daemon" # command to execute
|
||||||
EXEC_CMD_ARGS="--config-dir /config/transmission -f" # command arguments
|
EXEC_CMD_ARGS="-f --config-dir $CONF_DIR" # command arguments
|
||||||
EXEC_PRE_SCRIPT="" # execute script before
|
EXEC_PRE_SCRIPT="" # execute script before
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Is this service a web server
|
# Is this service a web server
|
||||||
IS_WEB_SERVER="no"
|
IS_WEB_SERVER="no"
|
||||||
@ -195,7 +195,8 @@ __post_execute() {
|
|||||||
sleep 60 # how long to wait before executing
|
sleep 60 # how long to wait before executing
|
||||||
echo "Running post commands" # message
|
echo "Running post commands" # message
|
||||||
# execute commands
|
# execute commands
|
||||||
|
mkdir -p "$PWD/.config"
|
||||||
|
ln -sf "$CONF_DIR" "$PWD/.config/transmission-daemon"
|
||||||
return $exitCode
|
return $exitCode
|
||||||
}
|
}
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
Loading…
x
Reference in New Issue
Block a user