diff options
Diffstat (limited to 'f3s/r-nodes/nfs-mount-monitor/nfs-mount-monitor.timer')
| -rw-r--r-- | f3s/r-nodes/nfs-mount-monitor/nfs-mount-monitor.timer | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/f3s/r-nodes/nfs-mount-monitor/nfs-mount-monitor.timer b/f3s/r-nodes/nfs-mount-monitor/nfs-mount-monitor.timer new file mode 100644 index 0000000..31251f2 --- /dev/null +++ b/f3s/r-nodes/nfs-mount-monitor/nfs-mount-monitor.timer @@ -0,0 +1,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 |
