From 9116c58b24f0f16d4bf1555effd39f76358a26e9 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 5 Feb 2014 14:32:56 +0100 Subject: [PATCH] Fix: IcingaUseVfork warning when spawning child processes. Fixes #5607 --- icinga-app/icinga.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/icinga-app/icinga.cpp b/icinga-app/icinga.cpp index 567ad6c30..66af81175 100644 --- a/icinga-app/icinga.cpp +++ b/icinga-app/icinga.cpp @@ -334,6 +334,8 @@ int main(int argc, char **argv) Application::DeclareStatePath(Application::GetLocalStateDir() + "/lib/icinga2/icinga2.state"); Application::DeclarePidPath(Application::GetLocalStateDir() + "/run/icinga2/icinga2.pid"); + ScriptVariable::Set("IcingaUseVfork", true, false, true); + Application::MakeVariablesConstant(); Log(LogInformation, "icinga-app", "Icinga application loader (version: " + Application::GetVersion() + ")"); -- 2.40.0