Last active
December 18, 2015 02:58
-
-
Save bernerdschaefer/5714419 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
set -e | |
echo "starting doozer:8046" | |
doozerd -timeout 30 -hist 1000 -l "127.0.0.1:8046" -w ":8080" -c test &>tmp/8046.log & | |
sleep 1 | |
echo "starting doozer:8047" | |
doozerd -timeout 30 -hist 1000 -l "127.0.0.1:8047" -w false -b "doozer:?ca=127.0.0.1:8046" -c test &>tmp/8047.log & | |
sleep 1 | |
echo "starting doozer:8048" | |
doozerd -timeout 30 -hist 1000 -l "127.0.0.1:8048" -w false -b "doozer:?ca=127.0.0.1:8046" -c test &>tmp/8048.log & | |
PID_8048=$! | |
sleep 1 | |
echo -n | doozer add /ctl/cal/1 > /dev/null | |
echo -n | doozer add /ctl/cal/2 > /dev/null | |
sleep 1 | |
kill $PID_8048 | |
sleep 1 | |
doozerd -timeout 30 -hist 1000 -l "127.0.0.1:8048" -w false -b "doozer:?ca=127.0.0.1:8046" -c test &>tmp/8048.log & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment