diff --git a/lxc/execute b/lxc/execute index 8e06dfd..84e2741 100755 --- a/lxc/execute +++ b/lxc/execute @@ -91,7 +91,7 @@ lxc-attach -n piston -- \ lxc-attach -n piston -- \ /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 {} \;\ + find /tmp -user runner$newinc -exec /bin/rm -rf {} \;\ " > /dev/null 2>&1 & rm -rf $basepath/tmp/$epoch diff --git a/lxc/notes.txt b/lxc/notes.txt index 5124a35..683a2d1 100644 --- a/lxc/notes.txt +++ b/lxc/notes.txt @@ -16,6 +16,8 @@ apt-get update apt-get -y install ubuntu-make apt-get -y install git tzdata nano dpkg-dev build-essential python python3 ruby nodejs golang php7.2 r-base mono-complete nasm openjdk-8-jdk umake swift +set dir to /opt +ln -s /opt/swift/usr/bin/swift /usr/bin/swift # create users and apply limits