Browse Source

ap/postgresql: Added a message after initdb execution.

slackware-14.2
Damien Goutte-Gattat 13 years ago
parent
commit
c340e1ef86
  1. 7
      ap/postgresql/doinst.sh

7
ap/postgresql/doinst.sh

@ -22,5 +22,10 @@ fi
if [ ! -d /var/lib/pgsql ]; then
mkdir -p /var/lib/pgsql
chown postgres:postgres /var/lib/pgsql
su - postgres -c '/usr/bin/initdb -D /var/lib/pgsql'
if su - postgres -c '/usr/bin/initdb -D /var/lib/pgsql' ; then
echo "or"
echo " chmod 755 /etc/rc.d/rc.postgresql"
echo " /etc/rc.d/rc.postgresql start"
echo
fi
fi

Loading…
Cancel
Save