fix pid files did not get removed and the kill term showing up
This commit is contained in:
parent
bae1fbbdf4
commit
6cac1a8001
@ -24,8 +24,7 @@ while ! grep 'resourcerequest: ok' /tmp/goahead.$parpid > /dev/null; do
|
||||
done
|
||||
sleeper=$(cat /tmp/sleeperpid.$parpid)
|
||||
sleeper=$(ps -ef|awk "\$3==$sleeper"|awk '{print $2}')
|
||||
kill -TERM $sleeper
|
||||
rm /tmp/goahead.$parpid
|
||||
rm /tmp/sleeperpid.$parpid
|
||||
rm /tmp/killme.$parpid
|
||||
|
||||
kill -TERM $sleeper
|
||||
|
Loading…
Reference in New Issue
Block a user