mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
10 lines
288 B
Bash
Executable File
10 lines
288 B
Bash
Executable File
#!/bin/sh
|
|
|
|
/etc/init.d/bind9 start
|
|
# get rid of hosts so go lookup won't resolve 127.0.0.1 to localhost
|
|
cat /dev/null >/etc/hosts
|
|
goreman -f /Procfile start &
|
|
sleep 5s
|
|
./etcdctl --discovery-srv etcd-srv.local set foo bar
|
|
ETCDCTL_API=3 ./etcdctl --discovery-srv etcd-srv.local put foo bar
|