title: EDB PostgreSQL restart service fails after trying to enable remove connections to database
body: <p>I've installed a trial version of EDB PostgreSQL 11.3 on a RHEL 7.3 virtual machine.
  I followed the installation steps and all went well until I tried to connect to the database from pgadmin and got this: <code>FATAL: no pg_hba.conf entry for host "10.2.191.84", user "system", database "postgres", SSL off</code></p>
  
  <p>So I set up enabling remote connection. Postgresql.conf had already had <code>listen_addresses = '*'</code> so I added </p>
  
  <pre><code>host    all             all              0.0.0.0/0                       md5
  host    all             all              ::/0                            md5
  </code></pre>
  
  <p>And now I need to restart the database.</p>
  
  <p>Installation instructions told me to run <code>systemctl restart edb-as-11</code> but that fails:</p>
  
  <pre><code>[root@EDBPostgre0 bin]# systemctl restart edb-as-11.service
  Job for edb-as-11.service failed because the control process exited with error code. See "systemctl status edb-as-11.service" and "journalctl -xe" for details.
  [root@EDBPostgre0 bin]# 
  [root@EDBPostgre0 bin]# 
  [root@EDBPostgre0 bin]# 
  [root@EDBPostgre0 bin]# systemctl status edb-as-11.service
  ● edb-as-11.service - EDB Postgres Advanced Server 11
     Loaded: loaded (/usr/lib/systemd/system/edb-as-11.service; disabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Tue 2020-04-28 17:33:22 IDT; 3s ago
    Process: 7142 ExecStartPre=/usr/edb/as11/bin/edb-as-11-check-db-dir ${PGDATA} (code=exited, status=1/FAILURE)
  
  Apr 28 17:33:22 meirav4EDBPostgre0 systemd[1]: Starting EDB Postgres Advanced Server 11...
  Apr 28 17:33:22 meirav4EDBPostgre0 systemd[1]: edb-as-11.service: control process exited, code=exited status=1
  Apr 28 17:33:22 meirav4EDBPostgre0 systemd[1]: Failed to start EDB Postgres Advanced Server 11.
  Apr 28 17:33:22 meirav4EDBPostgre0 systemd[1]: Unit edb-as-11.service entered failed state.
  Apr 28 17:33:22 meirav4EDBPostgre0 systemd[1]: edb-as-11.service failed.
  [root@EDBPostgre0 bin]# journalctl -xe
  Apr 28 17:33:22 EDBPostgre0 systemd[1]: Failed to start EDB Postgres Advanced Server 11.
  -- Subject: Unit edb-as-11.service has failed
  -- Defined-By: systemd
  -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  --
  -- Unit edb-as-11.service has failed.
  --
  -- The result is failed.
  
  </code></pre>
  
  <p>And what's strangest is that I can still connect to the database via psql. But I need to also connect to it remotely.</p>
  
  <p>I tried to restart postgresql.service but there's no such thing on my machine. Using pg_ctl only told me off and pointed me to use systemctl.</p>
  
  <p>What am I doing wrong?</p>