summaryrefslogtreecommitdiff
path: root/ctdb/config/nfs-checks.d/40.mountd.check
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/config/nfs-checks.d/40.mountd.check')
-rw-r--r--ctdb/config/nfs-checks.d/40.mountd.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/ctdb/config/nfs-checks.d/40.mountd.check b/ctdb/config/nfs-checks.d/40.mountd.check
new file mode 100644
index 00000000000..56b3fd29512
--- /dev/null
+++ b/ctdb/config/nfs-checks.d/40.mountd.check
@@ -0,0 +1,7 @@
+# mountd
+version="1"
+restart_every=2
+unhealthy_after=6
+service_stop_cmd="killall -q -9 rpc.mountd"
+service_start_cmd="rpc.mountd $RPCMOUNTDOPTS ${MOUNTD_PORT:+-p} $MOUNTD_PORT"
+service_debug_cmd="program_stack_traces rpc.mountd 5"