docs: use systemctl enable --now for postgres
Newer versions of systemd (RHEL 7.3+) support the --now flag to start and enable the service in one command.
This commit is contained in:
parent
5563b0c662
commit
b0d42dfd73
1 changed files with 1 additions and 2 deletions
|
|
@ -385,8 +385,7 @@ The following commands will initialize PostgreSQL and will start the database se
|
|||
::
|
||||
|
||||
root@localhost$ postgresql-setup initdb
|
||||
root@localhost$ systemctl enable postgresql
|
||||
root@localhost$ systemctl start postgresql
|
||||
root@localhost$ systemctl enable postgresql --now
|
||||
|
||||
Setup User Accounts:
|
||||
--------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue