postgresql: improve rc service, INSTALL, add pam conf file.
--HG-- extra : convert_revision : d5fe81f0ac5134f796f8e9fce96e53c764fbfacf
This commit is contained in:
@@ -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
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user