2014-05-01 01:48:01 +02:00
|
|
|
[Unit]
|
2014-05-27 09:42:49 +02:00
|
|
|
Description=Host/service/network monitoring system
|
2014-05-01 01:48:01 +02:00
|
|
|
After=syslog.target postgresql.service mariadb.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
2014-06-15 19:47:27 +02:00
|
|
|
EnvironmentFile=@ICINGA2_SYSCONFIGFILE@
|
|
|
|
ExecStartPre=@CMAKE_INSTALL_FULL_SBINDIR@/icinga2-prepare-dirs @ICINGA2_SYSCONFIGFILE@
|
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
|