title: postgres not using postgres.conf file?
body: <p>I have a postgres setup on my ubuntu 18.04 server.
  I have changed the <code>listen_addresses</code> property to <code>'*'</code> but it doesn't seem like the postgres server is following this.</p>
  
  <p>currently the first part of the file:</p>
  
  <pre class="lang-none prettyprint-override"><code># - Connection Settings -
  
  listen_addresses = '*'      # what IP address(es) to listen on;
                  # comma-separated list of addresses;
                  # defaults to 'localhost'; use '*' for all
                  # (change requires restart)
  port = 5432             # (change requires restart)
  max_connections = 100           # (change requires restart)
  #superuser_reserved_connections = 3 # (change requires restart)
  unix_socket_directories = '/var/run/postgresql' # comma-separated list of directories
                  # (change requires restart)
  #unix_socket_group = ''         # (change requires restart)
  #unix_socket_permissions = 0777     # begin with 0 to use octal notation
                  # (change requires restart)
  #bonjour = off              # advertise server via Bonjour
                  # (change requires restart)
  #bonjour_name = ''          # defaults to the computer name
                  # (change requires restart)
  </code></pre>
  
  <p>As a test, I changed the <code>port</code> setting to a different port and restarted the postgres server and psql stopped being able to connect to the running server so it seems like the <code>psql</code> command is following the config file but the server itself isnt?</p>
  
  <p>How can I debug this issue?</p>
  
  <p>I have tried to use <code>psql -U postgres -c 'SHOW config_file'</code> but it just shows the config file that I have edited?</p>
  
  <p>at the end of the file is:</p>
  
  <pre class="lang-none prettyprint-override"><code>include_dir = 'conf.d'          # include files ending in '.conf' from
                  # a directory, e.g., 'conf.d'
  </code></pre>
  
  <p>but this conf.d folder is empty</p>