I think this is needed also

This commit is contained in:
Radon Rosborough 2021-07-11 21:45:31 +00:00
parent 320b17777c
commit c02c4e07da
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ void session(char *uuid, char *lang, char *imageHash)
"--memory", "100m", "--memory", "100m",
"--memory-swap", "900m", "--memory-swap", "900m",
image, "bash", "-c", image, "bash", "-c",
"cat /var/run/riju/sentinel/fifo | ( while read -t2; do :; done; pkill -g0 )", "cat /var/run/riju/sentinel/fifo | ( sleep 10; while read -t2; do :; done; pkill -g0 )",
NULL, NULL,
}; };
execvp(argv[0], argv); execvp(argv[0], argv);