clean up other accessible tmp directories
This commit is contained in:
parent
65151d6f0c
commit
13a932d438
|
@ -147,6 +147,9 @@ lxc-attach --clear-env -n piston -- \
|
|||
/bin/bash -l -c "\
|
||||
for i in {1..100}; do pkill -u runner$newinc --signal SIGKILL; done ;\
|
||||
find /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 /run/lock -user runner$newinc -exec /bin/rm -rf {} \;\
|
||||
" > /dev/null 2>&1 &
|
||||
|
||||
rm -rf $basepath/tmp/$epoch
|
||||
|
|
Loading…
Reference in New Issue