2014-05-01 01:48:01 +02:00
|
|
|
[Unit]
|
2014-06-24 02:15:35 +02:00
|
|
|
Description=Icinga host/service/network monitoring system
|
2017-04-04 09:27:19 +02:00
|
|
|
After=syslog.target network-online.target postgresql.service mariadb.service carbon-cache.service carbon-relay.service
|
2014-05-01 01:48:01 +02:00
|
|
|
|
|
|
|
[Service]
|
2018-01-17 13:52:23 +01:00
|
|
|
Type=notify
|
2014-06-15 19:47:27 +02:00
|
|
|
EnvironmentFile=@ICINGA2_SYSCONFIGFILE@
|
2014-11-27 14:33:26 +01:00
|
|
|
ExecStartPre=@CMAKE_INSTALL_PREFIX@/lib/icinga2/prepare-dirs @ICINGA2_SYSCONFIGFILE@
|
2018-01-17 13:52:23 +01:00
|
|
|
ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/icinga2 daemon -e ${ICINGA2_ERROR_LOG}
|
2014-07-22 13:18:41 +02:00
|
|
|
PIDFile=@ICINGA2_RUNDIR@/icinga2/icinga2.pid
|
2014-12-11 09:27:31 +01:00
|
|
|
ExecReload=@CMAKE_INSTALL_PREFIX@/lib/icinga2/safe-reload @ICINGA2_SYSCONFIGFILE@
|
2016-07-27 07:44:11 +02:00
|
|
|
TimeoutStartSec=30m
|
2017-09-23 15:16:00 +02:00
|
|
|
|
|
|
|
# Systemd >228 enforces a lower process number for services.
|
|
|
|
# Depending on the distribution and Systemd version, this must
|
|
|
|
# be explicitly raised. Packages will set the needed values
|
|
|
|
# into /etc/systemd/system/icinga2.service.d/limits.conf
|
|
|
|
#
|
|
|
|
# Please check the troubleshooting documentation for further details.
|
|
|
|
# The values below can be used as examples for customized service files.
|
|
|
|
|
|
|
|
#TasksMax=infinity
|
|
|
|
#LimitNPROC=62883
|
2014-05-01 01:48:01 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|