mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
Evenscripts: update 41.httpd to use ctdb_service_check_reconfigure.
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 51c45b1c4751af41e5f9fd252763e0025f8cce3a)
This commit is contained in:
parent
820d9b30ea
commit
4daf8bb1c8
@ -44,6 +44,8 @@ ctdb_start_stop_service
|
||||
|
||||
is_ctdb_managed_service || exit 0
|
||||
|
||||
ctdb_service_check_reconfigure
|
||||
|
||||
case "$1" in
|
||||
startup)
|
||||
ctdb_service_start
|
||||
@ -54,11 +56,6 @@ case "$1" in
|
||||
;;
|
||||
|
||||
monitor)
|
||||
if ctdb_service_needs_reconfigure ; then
|
||||
ctdb_service_reconfigure
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if ctdb_check_tcp_ports 80 >/dev/null 2>/dev/null ; then
|
||||
ctdb_counter_init
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user