There was an error while loading. Please reload this page.
1 parent 5a24972 commit 436b826Copy full SHA for 436b826
1 file changed
attach/action.yml
@@ -85,6 +85,7 @@ runs:
85
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)
86
runner_id=$PPID
87
echo "Attaching agent to runner process with pid: $runner_id"
88
+ sleep 10
89
(
90
setsid nohup /tmp/lunar/bin/lunar --pid=$runner_id > /tmp/lunar/logs.txt 2>&1 &
91
echo $! > /tmp/lunar/pid.txt
0 commit comments