icinga2-checks/services/failoverdue.service

15 lines
393 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=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target