format
This commit is contained in:
parent
db7f5d261e
commit
87f6e6aead
12
lxc/execute
12
lxc/execute
|
@ -37,12 +37,14 @@ else
|
||||||
echo $newinc > $dir/i
|
echo $newinc > $dir/i
|
||||||
fi
|
fi
|
||||||
exec 200>&-
|
exec 200>&-
|
||||||
# Prevent users from spying on each other
|
|
||||||
|
# prevent users from spying on each other
|
||||||
lxc-attach --clear-env -n piston -- \
|
lxc-attach --clear-env -n piston -- \
|
||||||
/bin/bash -l -c "\
|
/bin/bash -l -c "
|
||||||
chown runner$newinc: -R /tmp/$epoch ;\
|
chown runner$newinc: -R /tmp/$epoch
|
||||||
chmod 700 /tmp/$epoch ;\
|
chmod 700 /tmp/$epoch
|
||||||
" > /dev/null 2>&1
|
" > /dev/null 2>&1
|
||||||
|
|
||||||
# runner
|
# runner
|
||||||
timeout -s KILL 20 \
|
timeout -s KILL 20 \
|
||||||
lxc-attach --clear-env -n piston -- \
|
lxc-attach --clear-env -n piston -- \
|
||||||
|
|
Loading…
Reference in New Issue