1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

ctdb: use properly configured ctdb in ctdbd_wrapper

This makes ctdbd_wrapper usable in non-standard installs.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Michael Adam 2016-06-07 07:44:53 +00:00 committed by Martin Schwenke
parent c904cb0929
commit 09d8fe7293

View File

@ -256,7 +256,7 @@ start()
return 1 return 1
fi fi
if ctdb runstate first_recovery startup running >/dev/null 2>&1 ; then if $CTDB runstate first_recovery startup running >/dev/null 2>&1 ; then
return 0 return 0
fi fi
fi fi
@ -278,7 +278,7 @@ stop()
return 0 return 0
fi fi
ctdb shutdown $CTDB shutdown
# Wait for remaining CTDB processes to exit... # Wait for remaining CTDB processes to exit...
_timeout=${CTDB_SHUTDOWN_TIMEOUT:-30} _timeout=${CTDB_SHUTDOWN_TIMEOUT:-30}