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

17 lines
554 B
SYSTEMD

[Unit]
Description=Morphit dmesg monitor timer — fires the .service every 5 minutes
Documentation=https://git.agorise.net/agorise/morphit
Requires=morphit-dmesg-monitor.service
[Timer]
# 1 min after boot (let early-boot kernel chatter settle),
# then every 5 minutes. Cursor-state means missed runs don't
# lose events; tighter cadence catches incidents faster but
# more frequent runs add their own dmesg lines (a tiny amount).
OnBootSec=1min
OnUnitActiveSec=5min
AccuracySec=10s
Unit=morphit-dmesg-monitor.service
[Install]
WantedBy=timers.target