fix(dev-db/etcd): use new state location

have etcd use /var/lib like other daemons do.
This commit is contained in:
Brandon Philips 2013-07-30 09:03:45 -07:00
parent 5bd666247c
commit db2708f2e8

View File

@ -7,7 +7,7 @@ MY_IP=$(curl -s $META_URL/meta-data/local-ipv4)
BOOTSTRAP="/var/run/etcd/bootstrap.config"
# for etcd
STATE=/media/state/etcd
STATE=/var/lib/etcd
mkdir -p $STATE
[ ! -e $BOOTSTRAP ] && echo bootstrap config missing && exit 1