postgresql: improve rc service, INSTALL, add pam conf file.

--HG--
extra : convert_revision : d5fe81f0ac5134f796f8e9fce96e53c764fbfacf
This commit is contained in:
Juan RP
2010-03-02 06:45:21 +01:00
parent 888834d9c5
commit e791f83899
5 changed files with 33 additions and 122 deletions

View File

@@ -5,18 +5,17 @@ post)
cat << _EOF
=====================================================================
Please note that to properly initialize the PostgreSQL server,
a configuration file should be copied to /var/lib/postgresql from
/usr/share/postgresql/postgresql.conf.sample.
To initialize the PostgreSQL data directory, use this:
$ sudo su -l postgres -c initdb -D /var/lib/postgresql/data
To start the server finally use:
Please note that to properly start the PostgreSQL server,
a sample configuration file should be copied to
/var/lib/postgresql/data from
/usr/share/postgresql/postgresql.conf.sample, edit it accordingly
and use the following the command:
$ /etc/init.d/postgresql start
The configuration file for starting the service is available in
/etc/conf.d/postgresql.
=====================================================================
_EOF
;;