888834d9c5
--HG-- extra : convert_revision : bc2fb198b40e73611b230fdd576883f7cb1c0a06
24 lines
571 B
Plaintext
24 lines
571 B
Plaintext
# *-*-shell-*-*
|
|
#
|
|
case ${ACTION} in
|
|
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:
|
|
|
|
$ /etc/init.d/postgresql start
|
|
|
|
=====================================================================
|
|
_EOF
|
|
;;
|
|
esac
|