Skip to content

Commit

Permalink
make sure etcd directory doesn't colide with the postgres one.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyklyukin committed Apr 24, 2015
1 parent 42e1d9e commit c2760f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions postgres-appliance/postgres_ha.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ etcd:
postgresql:
name: postgresql_${HOSTNAME}
listen: ${local_address}:5432
data_dir: $PGDATA/data
data_dir: $PGDATA
replication:
username: standby
password: standby
Expand All @@ -41,7 +41,7 @@ if [ "$DEBUG" -eq 1 ]
then
exec /bin/bash
fi
etcd -name "proxy-$SCOPE" -proxy on -bind-addr 127.0.0.1:8080 --data-dir=data/etcd -initial-cluster $ETCD_CLUSTER &
etcd -name "proxy-$SCOPE" -proxy on -bind-addr 127.0.0.1:8080 --data-dir=etcd -initial-cluster $ETCD_CLUSTER &

exec governor/governor.py "/home/postgres/postgres.yml"

Expand Down

0 comments on commit c2760f5

Please sign in to comment.