Browse Source

* corrected postgresql.postinstall to be able to create the db cluster

git-svn-id: svn+ssh://svn.opensde.net/home/users/karasz/x5/tardiba/trunk@76 471cc25b-571d-0410-8e29-1f4f9b506cef
master
Nagy Karoly Gabriel 17 years ago
parent
commit
437e0cc62e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      postgresql.postinstall

+ 1
- 1
postgresql.postinstall

@ -17,7 +17,7 @@ chown postgres:postgres /opt/postgresql
chown postgres:postgres /var/opt/postgresql/data/
# create the initial cluster (WARNING!! this cluster will be SQL_ASCII)
su -c "/opt/postgresql/bin/initdb -D /var/opt/postgresql/data" postgres
su - postgres -c "/opt/postgresql/bin/initdb -D /var/opt/postgresql/data"
# enable the X5 compatibility options
sed -i -e "s,^#default_with_oids\ =\ off,default_with_oids\ =\ on," \

Loading…
Cancel
Save