Skip to content

Commit 436b826

Browse files
committed
WIP
1 parent 5a24972 commit 436b826

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

attach/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ runs:
8585
runner_id=$(pid=$$; while [ "$pid" -ne 1 ] && [ -e "/proc/$pid" ]; do ppid=$(awk '/^PPid:/ {print $2}' /proc/$pid/status); [ "$ppid" -eq 1 ] && echo "$pid"; pid=$ppid; done)
8686
runner_id=$PPID
8787
echo "Attaching agent to runner process with pid: $runner_id"
88+
sleep 10
8889
(
8990
setsid nohup /tmp/lunar/bin/lunar --pid=$runner_id > /tmp/lunar/logs.txt 2>&1 &
9091
echo $! > /tmp/lunar/pid.txt

0 commit comments

Comments
 (0)