From c75f8ef41650e4af74848bc1e1145be79df0754e Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Fri, 26 Oct 2018 12:02:29 -0600 Subject: [PATCH 1/2] docs: fix rST syntax for DB listening section Clean up some rST syntax issues in the section about altering the postgres listen_address. --- docs/source/server_howto.rst | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/docs/source/server_howto.rst b/docs/source/server_howto.rst index 717b1cd5..e67ed84b 100644 --- a/docs/source/server_howto.rst +++ b/docs/source/server_howto.rst @@ -595,20 +595,15 @@ running. Set Database To Listen On All Addresses ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -The koji-hub service will attempt to connect to the database server in the +The ``koji-hub`` service will attempt to connect to the database server in the manner you configure. If you use the system hostname, then the database will need to be available on that address. To configure this please perform the following: -#. Edit /var/lib/pgsql/data/postgresql.conf -#. Set listen_address - - :: - +#. Edit ``/var/lib/pgsql/data/postgresql.conf`` +#. Set ``listen_address`` so postgres will listen on all interfaces:: listen_addresses = '*' -#. Reload the postgresql service - - :: +#. Reload the postgresql service:: systemctl restart postgresql Koji Hub From 312c160afcbce46c0eb9af9a13b060d93cbfabe8 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Mon, 18 Nov 2019 09:23:02 +0100 Subject: [PATCH 2/2] fix indenting --- docs/source/server_howto.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/source/server_howto.rst b/docs/source/server_howto.rst index e67ed84b..697c7744 100644 --- a/docs/source/server_howto.rst +++ b/docs/source/server_howto.rst @@ -601,9 +601,13 @@ need to be available on that address. To configure this please perform the following: #. Edit ``/var/lib/pgsql/data/postgresql.conf`` -#. Set ``listen_address`` so postgres will listen on all interfaces:: +#. Set ``listen_address`` so postgres will listen on all interfaces: + :: + listen_addresses = '*' -#. Reload the postgresql service:: +#. Reload the postgresql service: + :: + systemctl restart postgresql Koji Hub