icinga2/debian/icinga2-common.icinga2.service

14 lines
342 B
SYSTEMD

[Unit]
Description=Icinga host/service/network monitoring system
After=postgresql.service mariadb.service carbon-cache.service mysql.service
[Service]
Type=simple
ExecStartPre=/usr/lib/icinga2/prepare-dirs /usr/lib/icinga2/icinga2
ExecStart=/usr/sbin/icinga2 daemon
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target