Move runuser to execute

This commit is contained in:
Vrganj 2021-01-17 15:44:40 +00:00
parent 14565b16e4
commit 9851352f87
30 changed files with 76 additions and 132 deletions

View file

@ -41,7 +41,7 @@ exec 200>&-
# runner
timeout -s KILL 20 \
lxc-attach --clear-env -n piston -- \
/bin/bash -l -c "bash /exec/$lang $newinc $epoch"
/bin/bash -l -c "runuser runner$newinc /exec/$lang $newinc $epoch"
# process janitor
lxc-attach --clear-env -n piston -- \