ctdb-scripts: Stop/start mount/rquotad/status via NFS call-out
[vlendec/samba-autobuild/.git] / ctdb / config / nfs-checks.d / 40.mountd.check
index 56b3fd29512389b1324e296456bd49d1e95a959d..bfe4c277ce9d4054efa721e68490c8dd1cea37fe 100644 (file)
@@ -2,6 +2,6 @@
 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_stop_cmd="$CTDB_NFS_CALLOUT stop mountd"
+service_start_cmd="$CTDB_NFS_CALLOUT start mountd"
 service_debug_cmd="program_stack_traces rpc.mountd 5"