mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
0943fba979
(This used to be ctdb commit cf61bf8b8806d29772985c904d5ee15c24d4d767)
20 lines
304 B
Bash
Executable File
20 lines
304 B
Bash
Executable File
#!/bin/sh
|
|
|
|
NUMNODES=2
|
|
if [ $# -gt 0 ]; then
|
|
NUMNODES=$1
|
|
fi
|
|
|
|
tests/start_daemons.sh $NUMNODES || exit 1
|
|
|
|
|
|
killall -9 -q ctdb_persistent
|
|
for i in `seq 1 $NUMNODES`; do
|
|
$VALGRIND bin/ctdb_persistent --socket sock.$i $* &
|
|
done
|
|
wait
|
|
|
|
echo "Shutting down"
|
|
bin/ctdb shutdown -n all --socket=sock.1
|
|
exit 0
|