mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-28 08:04:14 +02:00
parent
6206f78ef0
commit
4e5649f0d7
@ -315,7 +315,11 @@ int DaemonCommand::Run(const po::variables_map& vm, const std::vector<std::strin
|
|||||||
Logger::DisableTimestamp(false);
|
Logger::DisableTimestamp(false);
|
||||||
|
|
||||||
if (!ScriptGlobal::Exists("UseVfork"))
|
if (!ScriptGlobal::Exists("UseVfork"))
|
||||||
|
#ifdef __APPLE__
|
||||||
|
ScriptGlobal::Set("UseVfork", false);
|
||||||
|
#else /* __APPLE__ */
|
||||||
ScriptGlobal::Set("UseVfork", true);
|
ScriptGlobal::Set("UseVfork", true);
|
||||||
|
#endif /* __APPLE__ */
|
||||||
|
|
||||||
Log(LogInformation, "cli")
|
Log(LogInformation, "cli")
|
||||||
<< "Icinga application loader (version: " << Application::GetVersion()
|
<< "Icinga application loader (version: " << Application::GetVersion()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user