1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

don't retstart statd when we don't need to

(This used to be ctdb commit 94059f108b14c4a2442a40cf8f0eceb612c5d14a)
This commit is contained in:
Andrew Tridgell 2008-01-07 14:05:30 +11:00
parent db6ac79579
commit 30e18ed48e

View File

@ -55,6 +55,9 @@ case $cmd in
;; ;;
recovered) 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 # always restart the lockmanager so that we start with a clusterwide
# graceperiod when ip addresses has changed # graceperiod when ip addresses has changed
[ -x $CTDB_BASE/statd-callout ] && { [ -x $CTDB_BASE/statd-callout ] && {