Running executors as runners

This commit is contained in:
ThreshMain 2021-01-16 06:46:04 +01:00
parent 9293cd271f
commit 8f2960e99a
No known key found for this signature in database
GPG key ID: 5FCE2316C19586E7
30 changed files with 66 additions and 92 deletions

View file

@ -48,7 +48,7 @@ lxc-attach --clear-env -n piston -- \
# 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 -c 'bash /exec/$lang $epoch'"
# process janitor
lxc-attach --clear-env -n piston -- \