initdb -> --initdb on newer distros. Per report from Geoffrey Gordon Ashbrook
authorDevrim Gündüz <devrim@gunduz.org>
Thu, 9 Jul 2020 15:57:44 +0000 (16:57 +0100)
committerDevrim Gündüz <devrim@gunduz.org>
Thu, 9 Jul 2020 15:58:10 +0000 (16:58 +0100)
templates/pages/download/linux/redhat.html

index 5c6dd5f26fbe522c120b6d43c5fa81fbf005ae34..1fea1d45a5ba523624a994b7e5d15994eda075e2 100644 (file)
@@ -165,9 +165,9 @@ perform the following steps, based on your distribution:
   service postgresql initdb
   chkconfig postgresql on
 </pre>
-<h4>For RHEL / CentOS / SL / OL 7, 8 or Fedora 29 and later derived distributions:</h4>
+<h4>For RHEL / CentOS / SL / OL 7, 8 or Fedora 31 and later derived distributions:</h4>
 <pre class="code">
-  postgresql-setup initdb
+  postgresql-setup --initdb
   systemctl enable postgresql.service
   systemctl start postgresql.service
 </pre>