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:
parent
db6ac79579
commit
30e18ed48e
@ -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 ] && {
|
||||
|
Loading…
x
Reference in New Issue
Block a user