git.samba.org
/
metze
/
ctdb
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make changes to ctdb event scripts to support NFS-Ganesha.
[metze/ctdb/wip.git]
/
config
/
events.d
/
60.nfs
diff --git
a/config/events.d/60.nfs
b/config/events.d/60.nfs
index 23f22b70ea9f497b50420368be3b66e370041b92..a8fe24349618af0b7d4abad927a3c972df8ba26c 100755
(executable)
--- a/
config/events.d/60.nfs
+++ b/
config/events.d/60.nfs
@@
-17,6
+17,8
@@
service_stop="startstop_nfs stop"
loadconfig
+[ "$NFS_SERVER_MODE" != "GANESHA" ] || exit 0
+
ctdb_start_stop_service
is_ctdb_managed_service || exit 0