github.com/dahs81/otto@v0.2.1-0.20160126165905-6400716cf085/images/scripts/common/consul-dev.sh (about)

     1  #!/bin/sh -eux
     2  
     3  # Make the flags a single-server setup
     4  cat >/etc/service/consul << EOF
     5  export CONSUL_FLAGS="-server -bootstrap -data-dir=/mnt/consul"
     6  EOF