clear out temp dir of ran user
This commit is contained in:
parent
d5e61f6922
commit
ffee474af8
|
@ -86,6 +86,9 @@ lxc-attach -n piston -- \
|
||||||
|
|
||||||
# process janitor
|
# process janitor
|
||||||
lxc-attach -n piston -- \
|
lxc-attach -n piston -- \
|
||||||
/bin/bash -c "for i in {1..2000}; do pkill -u runner$newinc --signal SIGKILL; done" > /dev/null 2>&1 &
|
/bin/bash -c "\
|
||||||
|
for i in {1..100}; do pkill -u runner$newinc --signal SIGKILL; done ;\
|
||||||
|
find /tmp/* -user runner$newinc -exec /bin/rm -rf {} \;\
|
||||||
|
"
|
||||||
|
|
||||||
rm -rf $basepath/tmp/$epoch
|
rm -rf $basepath/tmp/$epoch
|
||||||
|
|
Loading…
Reference in New Issue