summaryrefslogtreecommitdiff
path: root/f3s/r-nodes/nfs-mount-monitor/nfs-mount-monitor.service
blob: 6077e0c3b4d27211605bfdc71c5c1f76592635d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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