Re: Cannot connect to postgresql-11 from another machine after boot

Поиск
Список
Период
Сортировка
От Peter J. Holzer
Тема Re: Cannot connect to postgresql-11 from another machine after boot
Дата
Msg-id 20200222223225.GD12464@hjp.at
обсуждение исходный текст
Ответ на Re: Cannot connect to postgresql-11 from another machine after boot  (Jason Swails <jason.swails@gmail.com>)
Список pgsql-general
On 2020-02-17 10:17:41 -0500, Jason Swails wrote:
> I then added "network.target", "networking.service", and
> "network-online.target" to the After line of the postgresql.service systemd
> file, but it still didn't fix the problem.

After=network-online.target should be correct.

However, see
https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ for an
explanation why "the network is online" is not as simple as it looks and
how to ensure that.

        hp

--
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Klaus Darilion
Дата:
Сообщение: Re: Logical replication lag in seconds
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Can I trigger an action from a coalesce ?