icinga2-checks/services/failoverdue.service

14 lines
375 B
SYSTEMD

[Unit]
Description=Icinga2 fail overdue services.
Wants=icinga2.service icinga-director.service
Requires=icinga2.service icinga-director.service
[Service]
User=flask
ExecStart=/opt/venvs/icinga2/icinga2_checks/bin/python3 /opt/icinga2-checks/Other/fail-overdue.py --password XXXXX --insecure
SyslogIdentifier=failoverdue
Restart=always
[Install]
WantedBy=multi-user.target