diff options
Diffstat (limited to 'f3s/r-nodes/nfs-mount-monitor/nfs-mount-monitor.service')
| -rw-r--r-- | f3s/r-nodes/nfs-mount-monitor/nfs-mount-monitor.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/f3s/r-nodes/nfs-mount-monitor/nfs-mount-monitor.service b/f3s/r-nodes/nfs-mount-monitor/nfs-mount-monitor.service new file mode 100644 index 0000000..6077e0c --- /dev/null +++ b/f3s/r-nodes/nfs-mount-monitor/nfs-mount-monitor.service @@ -0,0 +1,15 @@ +# systemd one-shot service that runs check-nfs-mount.sh once per invocation. +# Triggered by nfs-mount-monitor.timer (every 10 seconds). +# Logs to the journal: journalctl -u nfs-mount-monitor +# +# Deploy via Rex: rex -f f3s/r-nodes/Rexfile nfs_mount_monitor + +[Unit] +Description=NFS Mount Health Monitor +After=network-online.target + +[Service] +Type=oneshot +ExecStart=/usr/local/bin/check-nfs-mount.sh +StandardOutput=journal +StandardError=journal |
