stop first
This commit is contained in:
parent
d467a12837
commit
ed8b31e872
|
|
@ -31,9 +31,9 @@ function runWebPageReplay() {
|
|||
|
||||
# Inspired by docker-selenium way of shutting down
|
||||
function shutdown {
|
||||
webpagereplaywrapper replay --stop $WPR_PARAMS
|
||||
kill -s SIGTERM ${PID}
|
||||
wait $PID
|
||||
webpagereplaywrapper replay --stop $WPR_PARAMS
|
||||
}
|
||||
|
||||
LATENCY=${LATENCY:-100}
|
||||
|
|
|
|||
Loading…
Reference in New Issue