This commit is contained in:
Vrganj 2021-01-06 00:46:49 +01:00
parent b0c462d5ee
commit ba19844c0e
7 changed files with 30 additions and 0 deletions

4
lxc/executors/d Normal file
View file

@ -0,0 +1,4 @@
cd /tmp/$2
cp code.code code.d
timeout -s KILL 10 dmd code.d
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./code"