docs: use "postgresql-setup initdb" to initialize database

Replace the old RHEL 5-era command with the newer command, available in
RHEL 7 and later.
This commit is contained in:
Ken Dreyer 2018-10-26 11:32:29 -06:00 committed by Mike McLean
parent 896d80a19f
commit 3a83f61292

View file

@ -385,7 +385,7 @@ The following commands will initialize PostgreSQL and will start the database se
::
root@localhost$ su - postgres -c "PGDATA=/var/lib/pgsql/data initdb"
root@localhost$ postgresql-setup initdb
root@localhost$ systemctl enable postgresql
root@localhost$ systemctl start postgresql