mirror of https://git.kore.io/kore.git
Add a docker python kore.config.deployment setting.
This keeps kore in the foreground will still doing privsep. Useful with upcoming official kore docker images.
This commit is contained in:
parent
0abc9b19ff
commit
61c06291b6
|
@ -1866,7 +1866,9 @@ configure_task_threads(char *option)
|
||||||
static int
|
static int
|
||||||
configure_deployment(char *value)
|
configure_deployment(char *value)
|
||||||
{
|
{
|
||||||
if (!strcmp(value, "dev") || !strcmp(value, "development")) {
|
if (!strcmp(value, "docker")) {
|
||||||
|
kore_foreground = 1;
|
||||||
|
} else if (!strcmp(value, "dev") || !strcmp(value, "development")) {
|
||||||
kore_foreground = 1;
|
kore_foreground = 1;
|
||||||
skip_runas = 1;
|
skip_runas = 1;
|
||||||
skip_chroot = 1;
|
skip_chroot = 1;
|
||||||
|
|
Loading…
Reference in New Issue