summaryrefslogtreecommitdiff
path: root/f3s/r-nodes/nfs-mount-monitor/nfs-mount-monitor.timer
blob: 31251f26369c9246ac4806aae2ca5c070d30affd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# systemd timer that fires nfs-mount-monitor.service every 10 seconds.
# AccuracySec=1s keeps the interval tight (default 1m would be too coarse).
# OnBootSec=30s gives the network and NFS client time to come up before
# the first check fires.
#
# Deploy via Rex: rex -f f3s/r-nodes/Rexfile nfs_mount_monitor

[Unit]
Description=Run NFS Mount Health Monitor every 10 seconds
Requires=nfs-mount-monitor.service

[Timer]
OnBootSec=30s
OnUnitActiveSec=10s
AccuracySec=1s

[Install]
WantedBy=timers.target