Eventscripts: print a message when reconfiguring a service.
authorMartin Schwenke <martin@meltin.net>
Tue, 11 Jan 2011 06:10:55 +0000 (17:10 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 11 Jan 2011 05:48:05 +0000 (16:48 +1100)
Otherwise there can be strange error messages from services
stopping/starting, without any context.

Signed-off-by: Martin Schwenke <martin@meltin.net>
config/functions

index 599e46a5f3798e5ba048ac7cbc5a02deb9703c91..8dac161940da20d5550b76193da8d608cbd95873 100755 (executable)
@@ -651,6 +651,7 @@ ctdb_service_unset_reconfigure ()
 
 ctdb_service_reconfigure ()
 {
+    echo "Reconfiguring service \"$service_name\"..."
     if [ -n "$service_reconfigure" ] ; then
        eval $service_reconfigure
     else