From c75f8ef41650e4af74848bc1e1145be79df0754e Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Nov 15 2019 17:44:06 +0000 Subject: docs: fix rST syntax for DB listening section Clean up some rST syntax issues in the section about altering the postgres listen_address. --- diff --git a/docs/source/server_howto.rst b/docs/source/server_howto.rst index 717b1cd..e67ed84 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