mirror of https://github.com/Icinga/icinga2.git
Fixed default path for the icinga2.state file.
This commit is contained in:
parent
63db2bb89a
commit
79efdd89d6
|
@ -133,7 +133,7 @@ String IcingaApplication::GetStatePath(void) const
|
|||
Value statePath = Get("state_path");
|
||||
|
||||
if (statePath.IsEmpty())
|
||||
statePath = Application::GetLocalStateDir() + "/lib/icinga2.state";
|
||||
statePath = Application::GetLocalStateDir() + "/lib/icinga2/icinga2.state";
|
||||
|
||||
return statePath;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue