mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Eventscript functions: ctdb_service_check-reconfigure() acts only on monitor.
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit beabf506a5eb68fc50fdbf8772c1d2bb0f7951e3)
This commit is contained in:
parent
cd4074d2f8
commit
217edfa1c8
@ -683,6 +683,8 @@ service_reconfigure ()
|
||||
|
||||
ctdb_service_check_reconfigure ()
|
||||
{
|
||||
[ "$event_name" = "monitor" ] || return 0
|
||||
|
||||
if ctdb_service_needs_reconfigure "$@" ; then
|
||||
ctdb_service_reconfigure "$@"
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user