From 4daf8bb1c8fc0c91b735fdab903532538d21a23a Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Thu, 16 Dec 2010 09:47:10 +1100 Subject: Evenscripts: update 41.httpd to use ctdb_service_check_reconfigure. Signed-off-by: Martin Schwenke (This used to be ctdb commit 51c45b1c4751af41e5f9fd252763e0025f8cce3a) --- ctdb/config/events.d/41.httpd | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ctdb/config/events.d/41.httpd b/ctdb/config/events.d/41.httpd index 87fcdd67ac..2006210cd5 100755 --- a/ctdb/config/events.d/41.httpd +++ b/ctdb/config/events.d/41.httpd @@ -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 -- cgit