Re: Network Card Not Listening at Startup

2022-02-10 Thread Ludwig Isaac Lim
> On Thursday, February 10, 2022, 01:49:10 AM GMT+8, Tom Lane > wrote: >> Ludwig Isaac Lim writes: >> How do make sure that NIC will be listening every time I started/restarted >> the server? > You need to tell systemd not to start the postgresql service > until the network is up.

Re: Network Card Not Listening at Startup

2022-02-09 Thread Tom Lane
Ludwig Isaac Lim writes: > How do make sure that NIC will be listening every time I started/restarted > the server? You need to tell systemd not to start the postgresql service until the network is up. In basic cases, you can edit the postgresql.service file, or maybe better create an add-on co