icinga2-checks/services/failoverdue.service

15 lines
393 B
SYSTEMD
Raw Normal View History

2023-11-22 23:35:33 -07:00
[Unit]
Description=Icinga2 fail overdue services.
Wants=icinga2.service icinga-director.service
Requires=icinga2.service icinga-director.service
2023-11-22 23:35:33 -07:00
[Service]
User=flask
2024-02-25 20:52:48 -07:00
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
2023-11-22 23:35:33 -07:00
[Install]
WantedBy=multi-user.target