2014-05-01 01:48:01 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Icinga host/service/network monitoring system
|
|
|
|
After=syslog.target postgresql.service mariadb.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
2014-05-18 22:47:27 +02:00
|
|
|
EnvironmentFile=@CMAKE_INSTALL_FULL_SYSCONFDIR@/icinga2/sysdefines.conf
|
2014-05-18 23:14:30 +02:00
|
|
|
ExecStartPre=@CMAKE_INSTALL_FULL_SBINDIR@/icinga2-prepare-dirs @CMAKE_INSTALL_FULL_SYSCONFDIR@/icinga2/sysdefines.conf
|
2014-05-01 01:48:01 +02:00
|
|
|
ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/icinga2 -c ${ICINGA2_CONFIG_FILE} -d -e ${ICINGA2_ERROR_LOG} -u ${ICINGA2_USER} -g ${ICINGA2_GROUP}
|
|
|
|
PIDFile=@CMAKE_INSTALL_FULL_LOCALSTATEDIR@/run/icinga2/icinga2.pid
|
2014-05-18 21:49:08 +02:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
2014-05-01 01:48:01 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|