mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
4a09cc639b
Use a local variable $ctdbd so that we always run ctdbd from the the same place and so that we know what to kill. This variable respects the $CTDBD environment variable, which may be used to specify an alternative location for the daemon. In the important cases use "pkill -0 -f" to check if ctdbd is running. Also, remove the special case for killing ctdbd when running under valgrind. The regular case will handle this just fine. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit ee5d49324155e3e51371f6f8e5ed9eef4179f08d)