2014-05-01 01:48:01 +02:00
|
|
|
[Unit]
|
2014-06-24 02:15:35 +02:00
|
|
|
Description=Icinga host/service/network monitoring system
|
|
|
|
After=syslog.target postgresql.service mariadb.service carbon-cache.service
|
2014-05-01 01:48:01 +02:00
|
|
|
|
|
|
|
[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}
|
2014-07-22 13:18:41 +02:00
|
|
|
PIDFile=@ICINGA2_RUNDIR@/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
|