diff options
author | tnut <tnut at nutyx dot com> | 2011-05-08 10:36:50 +0200 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2011-05-08 10:36:50 +0200 |
commit | 6060e4406c6773fba826c34524cd65cec5a718ca (patch) | |
tree | 42824faced36e59e34ff5e98c83512fed45a6def /extra | |
parent | 6275c6534f40e3f2b5c41e3da3e1e64cf9d9e5da (diff) | |
download | nutyx-pakxe-6060e4406c6773fba826c34524cd65cec5a718ca.tar.gz nutyx-pakxe-6060e4406c6773fba826c34524cd65cec5a718ca.tar.bz2 nutyx-pakxe-6060e4406c6773fba826c34524cd65cec5a718ca.tar.xz nutyx-pakxe-6060e4406c6773fba826c34524cd65cec5a718ca.zip |
postgresql, ajout README et modification du post-install
Diffstat (limited to 'extra')
-rw-r--r-- | extra/postgresql/README | 6 | ||||
-rw-r--r-- | extra/postgresql/post-install | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/extra/postgresql/README b/extra/postgresql/README new file mode 100644 index 000000000..ff7fb8f9b --- /dev/null +++ b/extra/postgresql/README @@ -0,0 +1,6 @@ +A faire une fois le port installé: +su - postgres -c '/usr/bin/initdb -D /srv/pgsql/data' + +su - postgres -c '/usr/bin/postmaster -D /srv/pgsql/data > \ + /srv/pgsql/data/logfile 2>&1 &' + diff --git a/extra/postgresql/post-install b/extra/postgresql/post-install index c0a8a5ee0..dd6c07e5b 100644 --- a/extra/postgresql/post-install +++ b/extra/postgresql/post-install @@ -5,8 +5,8 @@ getent passwd $newuser > /dev/null || useradd -c "PostgreSQL Server" \ install -v -m700 -d /srv/pgsql/data chown -v postgres /srv/pgsql/data chmod 700 /srv/pgsql/data -su - postgres -c '/usr/bin/initdb -D /srv/pgsql/data' +# su - postgres -c '/usr/bin/initdb -D /srv/pgsql/data' -su - postgres -c '/usr/bin/postmaster -D /srv/pgsql/data > \ - /srv/pgsql/data/logfile 2>&1 &' +# su - postgres -c '/usr/bin/postmaster -D /srv/pgsql/data > \ +# /srv/pgsql/data/logfile 2>&1 &' |