Skip to content

Commit 066d03b

Browse files
authoredOct 10, 2024··
fix: up for 10s
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
1 parent 889d64e commit 066d03b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎scripts/restart-wrapper.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ do
2323
echo 'starting process...'
2424
"$@" &
2525
child=$!
26-
sleep 5 && echo "killing pid $child..." && kill -9 "$child"
26+
sleep 10 && echo "killing pid $child..." && kill -9 "$child"
2727
while kill -0 "$child" 2> /dev/null; do # wait for child to exit (kill -0 is falsy if pid is gone)
2828
sleep 1
2929
done
3030
echo 'killed...' && sleep 5
31-
done
31+
done

0 commit comments

Comments
 (0)
Please sign in to comment.