terminate each tmp cleanup
This commit is contained in:
parent
13a932d438
commit
c3416b8628
|
@ -146,10 +146,10 @@ timeout -s KILL 10 \
|
||||||
lxc-attach --clear-env -n piston -- \
|
lxc-attach --clear-env -n piston -- \
|
||||||
/bin/bash -l -c "\
|
/bin/bash -l -c "\
|
||||||
for i in {1..100}; do pkill -u runner$newinc --signal SIGKILL; done ;\
|
for i in {1..100}; do pkill -u runner$newinc --signal SIGKILL; done ;\
|
||||||
find /tmp -user runner$newinc -exec /bin/rm -rf {} \;\
|
find /tmp -user runner$newinc -exec /bin/rm -rf {} \; ;\
|
||||||
find /var/tmp -user runner$newinc -exec /bin/rm -rf {} \;\
|
find /var/tmp -user runner$newinc -exec /bin/rm -rf {} \; ;\
|
||||||
find /dev/shm -user runner$newinc -exec /bin/rm -rf {} \;\
|
find /dev/shm -user runner$newinc -exec /bin/rm -rf {} \; ;\
|
||||||
find /run/lock -user runner$newinc -exec /bin/rm -rf {} \;\
|
find /run/lock -user runner$newinc -exec /bin/rm -rf {} \; ;\
|
||||||
" > /dev/null 2>&1 &
|
" > /dev/null 2>&1 &
|
||||||
|
|
||||||
rm -rf $basepath/tmp/$epoch
|
rm -rf $basepath/tmp/$epoch
|
||||||
|
|
Loading…
Reference in New Issue