run.sh 270 B

12345678
  1. #!/bin/sh
  2. /etc/init.d/bind9 start
  3. # get rid of hosts so go lookup won't resolve 127.0.0.1 to localhost
  4. cat /dev/null >/etc/hosts
  5. goreman -f /Procfile.tls start &
  6. sleep 5s
  7. ETCDCTL_API=3 ./etcdctl --cacert=/certs/ca.crt --endpoints=https://m1.etcd.local:2379 put abc def