diff --git a/etc/systemd/icinga2.sysconfig.cmake b/etc/systemd/icinga2.sysconfig.cmake index 545fcf7c8..da0e51c38 100644 --- a/etc/systemd/icinga2.sysconfig.cmake +++ b/etc/systemd/icinga2.sysconfig.cmake @@ -1,7 +1,7 @@ ICINGA2_CONFIG_FILE=@CMAKE_INSTALL_FULL_SYSCONFDIR@/icinga2/icinga2.conf ICINGA2_STATE_DIR=@CMAKE_INSTALL_FULL_LOCALSTATEDIR@ -ICINGA2_ERROR_LOG=${ICINGA2_STATE_DIR}/log/icinga2/error.log -ICINGA2_LOG=${ICINGA2_STATE_DIR}/log/icinga2/icinga2.log +ICINGA2_ERROR_LOG=@CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/error.log +ICINGA2_LOG=@CMAKE_INSTALL_FULL_LOCALSTATEDIR@/log/icinga2/icinga2.log ICINGA2_USER=@ICINGA2_USER@ ICINGA2_GROUP=@ICINGA2_GROUP@ ICINGA2_COMMAND_USER=@ICINGA2_COMMAND_USER@