install.pgsql: ni initdb, ni start

This commit is contained in:
Thomas NOËL 2012-04-13 15:42:18 +02:00
parent 8a6cd4ad08
commit d353f4d155
1 changed files with 0 additions and 8 deletions

View File

@ -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