icinga2varstate_DATA =
#run
-icinga2rundir = ${localstatedir}/run
+icinga2rundir = ${localstatedir}/run/${PACKAGE}
icinga2run_DATA =
#bin
Value commandPath = config->Get("command_path");
if (commandPath.IsEmpty())
- return Application::GetLocalStateDir() + "/run/icinga.cmd";
+ return Application::GetLocalStateDir() + "/run/icinga/icinga2.cmd";
else
return commandPath;
}
ObjectLock olock(this);
if (m_PidPath.IsEmpty())
- return Application::GetLocalStateDir() + "/run/icinga2.pid";
+ return Application::GetLocalStateDir() + "/run/icinga2/icinga2.pid";
else
return m_PidPath;
}