зеркало из https://github.com/mozilla/hubs-ops.git
Update the puppeteer profile name for proper tmp cleanup
This commit is contained in:
Родитель
99814ca6a4
Коммит
e5923ab378
|
@ -29,7 +29,7 @@ for i in `seq 1 $NUM_SQUAWKER_PROCESSES`; do
|
|||
pkill -KILL -P $botid
|
||||
kill -KILL $botid
|
||||
logrotate -s logrotate.state logrotate.conf
|
||||
pushd /tmp ; ls -t1 | grep puppeteer_dev_profile | tail -n+$NUM_SQUAWKER_PROCESSES | xargs rm -rf ; popd
|
||||
pushd /tmp ; ls -t1 | grep puppeteer_dev_chrome_profile | tail -n+$NUM_SQUAWKER_PROCESSES | xargs rm -rf ; popd
|
||||
done
|
||||
) &
|
||||
sleep $PROCESS_SPAWN_DELAY
|
||||
|
|
Загрузка…
Ссылка в новой задаче