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

16 lines
466 B
SYSTEMD

[Unit]
Description=Morphit smartctl monitor timer — fires the .service every 6 hours
Documentation=https://git.agorise.net/agorise/morphit
Requires=morphit-smartctl-monitor.service
[Timer]
# 10 minutes after boot, then every 6 hours. SMART attributes
# change slowly; more frequent polling adds noise without
# catching anything earlier.
OnBootSec=10min
OnUnitActiveSec=6h
AccuracySec=1min
Unit=morphit-smartctl-monitor.service
[Install]
WantedBy=timers.target