diff --git a/etc/initsystem/icinga2.service.cmake b/etc/initsystem/icinga2.service.cmake index 27744e5aa..771c98f7b 100644 --- a/etc/initsystem/icinga2.service.cmake +++ b/etc/initsystem/icinga2.service.cmake @@ -5,10 +5,10 @@ After=syslog.target network-online.target postgresql.service mariadb.service car [Service] Type=notify EnvironmentFile=@ICINGA2_SYSCONFIGFILE@ -ExecStartPre=@CMAKE_INSTALL_PREFIX@/lib/icinga2/prepare-dirs +ExecStartPre=@CMAKE_INSTALL_PREFIX@/lib/icinga2/prepare-dirs @ICINGA2_SYSCONFIGFILE@ ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/icinga2 daemon -e ${ICINGA2_ERROR_LOG} PIDFile=@ICINGA2_RUNDIR@/icinga2/icinga2.pid -ExecReload=@CMAKE_INSTALL_PREFIX@/lib/icinga2/safe-reload +ExecReload=@CMAKE_INSTALL_PREFIX@/lib/icinga2/safe-reload @ICINGA2_SYSCONFIGFILE@ TimeoutStartSec=30m # Systemd >228 enforces a lower process number for services.