🗃️ Committing everything that changed 🗃️

rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh
This commit is contained in:
casjay 2024-08-11 15:22:15 -04:00
parent 43138d923a
commit 22b04b0325
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145

View File

@ -372,7 +372,7 @@ __post_execute() {
if [ -f "$$multi/$name.yaml" ] && [ -f "$multi/runners" ]; then
act_runner daemon --config $multi/$name.yaml &
local pid=$!
sleep 5 && ps ax | awk '{print $1}' | grep -v grep | grep -q "$execPid$" && is_running="yes"
sleep 5 && ps ax | awk '{print $1}' | grep -v grep | grep -q "$pid$" && is_running="yes"
if [ "$is_running" = "yes" ]; then
echo "$pid" >"$RUN_DIR/act_runner.$name.pid"
fi