summaryrefslogtreecommitdiffstats
path: root/extra/postgresql/post-install
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-05-08 10:36:50 +0200
committertnut <tnut at nutyx dot com>2011-05-08 10:36:50 +0200
commit6060e4406c6773fba826c34524cd65cec5a718ca (patch)
tree42824faced36e59e34ff5e98c83512fed45a6def /extra/postgresql/post-install
parent6275c6534f40e3f2b5c41e3da3e1e64cf9d9e5da (diff)
downloadnutyx-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/postgresql/post-install')
-rw-r--r--extra/postgresql/post-install6
1 files changed, 3 insertions, 3 deletions
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 &'