add support for bash

This commit is contained in:
Brian Seymour 2019-06-10 23:55:53 -05:00
parent 389f4ed335
commit 728c263c50
3 changed files with 4 additions and 0 deletions

2
lxc/executors/bash Normal file
View file

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