morphit/ops/systemd/morphit-fail2ban-monitor.timer

17 lines
530 B
SYSTEMD

[Unit]
Description=Morphit fail2ban monitor timer — fires the .service every 5 minutes
Documentation=https://git.agorise.net/agorise/morphit
Requires=morphit-fail2ban-monitor.service
[Timer]
# 1 minute after boot (so fail2ban has time to initialize),
# then every 5 minutes. Ban-rate detection works on the delta
# between successive runs, so the cadence determines how
# responsive the rate alert is.
OnBootSec=1min
OnUnitActiveSec=5min
AccuracySec=10s
Unit=morphit-fail2ban-monitor.service
[Install]
WantedBy=timers.target