13 lines
397 B
SYSTEMD
13 lines
397 B
SYSTEMD
[Unit]
|
|
Description=Auto Acknowledge all Icinga2 apt alerts
|
|
Wants=icinga2.service icinga-director.service
|
|
Requires=icinga2.service icinga-director.service
|
|
|
|
[Service]
|
|
User=flask
|
|
ExecStart=/opt/icinga2-checks/Other/auto-acknowledge-apt.sh --api https://localhost:5665 --fail --user icingaweb2 --password XXXXX
|
|
SyslogIdentifier=auto-acknowledge-apt
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |