diff options
Diffstat (limited to 'ctdb/config/events.d/00.ctdb')
-rwxr-xr-x | ctdb/config/events.d/00.ctdb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ctdb/config/events.d/00.ctdb b/ctdb/config/events.d/00.ctdb index f2ec5e85b8..bad129f538 100755 --- a/ctdb/config/events.d/00.ctdb +++ b/ctdb/config/events.d/00.ctdb @@ -12,7 +12,7 @@ . $CTDB_BASE/functions loadconfig -case $cmd in +case "$1" in startup) # make sure we have a blank state directory for the scripts to work with /bin/rm -rf $CTDB_BASE/state @@ -39,6 +39,10 @@ case $cmd in ctdb shutdown } } + + *) + ctdb_standard_event_handler "$@" + ;; esac # all OK |