From d353f4d155fe172cb83e27995a07a00fe8439b40 Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Fri, 13 Apr 2012 15:42:18 +0200 Subject: [PATCH] install.pgsql: ni initdb, ni start --- install.pgsql.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/install.pgsql.sh b/install.pgsql.sh index 8c4f689..1b63bc6 100755 --- a/install.pgsql.sh +++ b/install.pgsql.sh @@ -6,14 +6,6 @@ echo "##" cd /tmp -if [ ! -d /var/lib/pgsql/data/base/ ]; then - echo "initialisation postgresql" - /sbin/service postgresql initdb -fi - -echo "demarrage de postgresql" -/sbin/service postgresql start - if ! sudo -u postgres psql -c \\l | grep -q template_postgis; then echo " creation template postgis" sudo -u postgres createdb -E UTF8 template_postgis