From b0d42dfd73a2c6a31a696b9a88fa6dc0695822d2 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Apr 05 2019 19:29:27 +0000 Subject: 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. --- diff --git a/docs/source/server_howto.rst b/docs/source/server_howto.rst index 854ccbc..877f16f 100644 --- a/docs/source/server_howto.rst +++ b/docs/source/server_howto.rst @@ -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: --------------------