🗃️ Committing everything that changed 🗃️
Some checks failed
release-tag / release-image (push) Has been cancelled

rootfs/usr/local/bin/start-runners
rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh
This commit is contained in:
casjay
2025-09-17 17:40:44 -04:00
parent 3ab2c3d113
commit d0af1c5f6d
2 changed files with 89 additions and 1 deletions

View File

@@ -362,7 +362,7 @@ __post_execute() {
local postMessageST="Running post commands for $SERVICE_NAME" # message to show at start
local postMessageEnd="Finished post commands for $SERVICE_NAME" # message to show at completion
local sysname="${SERVER_NAME:-${FULL_DOMAIN_NAME:-$HOSTNAME}}" # set hostname
export SERVER_ADDRESS="$INSTANCE_HOSTNAME" SERVER_TOKEN="${RUNNER_AUTH_TOKEN:-$SYS_AUTH_TOKEN}" RUNNERS_ENABLE="${RUNNERS_START:-5}" RUNNER_LABELS
# wait
sleep $waitTime
# execute commands
@@ -399,6 +399,7 @@ __post_execute() {
fi
unset pid
fi
[ -x "/usr/local/bin/start-runners" ] && /usr/local/bin/start-runners &
# show exit message
__banner "$postMessageEnd: Status $retVal"
) 2>"/dev/stderr" | tee -p -a "$LOG_DIR/init.txt" &