mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
Move runuser to execute
This commit is contained in:
parent
14565b16e4
commit
9851352f87
30 changed files with 76 additions and 132 deletions
|
@ -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 -- \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue