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:
parent
c904cb0929
commit
09d8fe7293
@ -256,7 +256,7 @@ start()
|
||||
return 1
|
||||
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
|
||||
fi
|
||||
fi
|
||||
@ -278,7 +278,7 @@ stop()
|
||||
return 0
|
||||
fi
|
||||
|
||||
ctdb shutdown
|
||||
$CTDB shutdown
|
||||
|
||||
# Wait for remaining CTDB processes to exit...
|
||||
_timeout=${CTDB_SHUTDOWN_TIMEOUT:-30}
|
||||
|
Loading…
Reference in New Issue
Block a user