mirror of
https://github.com/engineer-man/piston.git
synced 2025-09-20 19:00:04 +02:00
Running executors as runners
This commit is contained in:
parent
9293cd271f
commit
8f2960e99a
30 changed files with 66 additions and 92 deletions
|
@ -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 -- \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue