git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb8fba9
)
don't retstart statd when we don't need to
author
Andrew Tridgell
<tridge@samba.org>
Mon, 7 Jan 2008 03:05:30 +0000
(14:05 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Mon, 7 Jan 2008 03:05:30 +0000
(14:05 +1100)
config/events.d/60.nfs
patch
|
blob
|
history
diff --git
a/config/events.d/60.nfs
b/config/events.d/60.nfs
index ed9d6da63be1282383ce230f927f9819967babcd..5699257992f0fb1652da766070139c480b0dbfbe 100755
(executable)
--- a/
config/events.d/60.nfs
+++ b/
config/events.d/60.nfs
@@
-55,6
+55,9
@@
case $cmd in
;;
recovered)
+ # if no IPs have changed then don't need to restart statd
+ [ -f $CTDB_BASE/state/statd/restart ] || exit 0;
+
# always restart the lockmanager so that we start with a clusterwide
# graceperiod when ip addresses has changed
[ -x $CTDB_BASE/statd-callout ] && {