File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ if [[ ! -d /var/lib/postgresql/9.3/main ]]; then
2020 mkdir -p /var/lib/postgresql/9.3
2121 chown -R postgres:postgres /var/lib/postgresql
2222 sudo -u postgres /usr/lib/postgresql/9.3/bin/initdb -D /var/lib/postgresql/9.3/main
23+ else
24+ chown -R postgres:postgres /var/lib/postgresql
2325fi
2426
2527# wait for etcd to be available
Original file line number Diff line number Diff line change 11[template ]
22src = " pg_hba.conf"
33dest = " /etc/postgresql/9.3/main/pg_hba.conf"
4- uid = 101
5- gid = 104
4+ uid = 102
5+ gid = 106
66mode = " 0640"
77keys = [
88 " /deis/database" ,
Original file line number Diff line number Diff line change 11[template ]
22src = " postgresql.conf"
33dest = " /etc/postgresql/9.3/main/postgresql.conf"
4- uid = 101
5- gid = 104
4+ uid = 102
5+ gid = 106
66mode = " 0644"
77keys = [
88 " /deis/database" ,
You can’t perform that action at this time.
0 commit comments