🗃️ Committing everything that changed 🗃️
Some checks failed
release-tag / release-image (push) Failing after 37s

rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh
This commit is contained in:
casjay 2024-09-02 13:38:13 -04:00
parent 0e98c550ed
commit db35ffcff1
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145

View File

@ -447,7 +447,6 @@ __post_execute() {
sleep 5 && ps ax | awk '{print $1}' | grep -v 'grep' | grep -q "$pid$" && is_running="yes" sleep 5 && ps ax | awk '{print $1}' | grep -v 'grep' | grep -q "$pid$" && is_running="yes"
if [ "$is_running" = "yes" ]; then if [ "$is_running" = "yes" ]; then
echo "$(date)" >"$CONF_DIR/.runner" echo "$(date)" >"$CONF_DIR/.runner"
echo "$$" >"$RUN_DIR/act_runner.pid"
echo "$pid" >"$RUN_DIR/act_runner.gitea.pid" echo "$pid" >"$RUN_DIR/act_runner.gitea.pid"
echo "Runner: gitea has been started with pid: $pid" | tee -a -p "$LOG_DIR/init.txt" echo "Runner: gitea has been started with pid: $pid" | tee -a -p "$LOG_DIR/init.txt"
else else