summaryrefslogtreecommitdiff
path: root/ctdb/config/events.d/41.httpd
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/config/events.d/41.httpd')
-rwxr-xr-xctdb/config/events.d/41.httpd6
1 files changed, 3 insertions, 3 deletions
diff --git a/ctdb/config/events.d/41.httpd b/ctdb/config/events.d/41.httpd
index 7f9ee23f247..15a35ea1cfa 100755
--- a/ctdb/config/events.d/41.httpd
+++ b/ctdb/config/events.d/41.httpd
@@ -37,7 +37,7 @@ ctdb_start_stop_service
is_ctdb_managed_service || exit 0
-case $cmd in
+case "$1" in
startup)
ctdb_service_start
;;
@@ -59,8 +59,8 @@ case $cmd in
fi
;;
- status)
- ctdb_checkstatus || exit $?
+ *)
+ ctdb_standard_event_handler "$@"
;;
esac