diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-10-12 10:51:11 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-10-12 10:51:11 -0400 |
commit | 2d27e13b35e9a932006006eb084cf9a1d90a8cb8 (patch) | |
tree | d93d4b3c0ce5a06b99faf5db0c4d734d11ffa3fd /contrib/postgres_fdw/postgres_fdw.c | |
parent | 8a927e3cfc8f42141072b0a677678d76cec8a1db (diff) | |
download | postgresql-2d27e13b35e9a932006006eb084cf9a1d90a8cb8.tar.gz postgresql-2d27e13b35e9a932006006eb084cf9a1d90a8cb8.zip |
Doc: improve recommended systemd unit file.
Add
After=network-online.target
Wants=network-online.target
to the suggested unit file for starting a Postgres server.
This delays startup until the network interfaces have been
configured; without that, any attempt to bind to a specific
IP address will fail.
If listen_addresses is set to "localhost" or "*", it might be
possible to get away with the less restrictive "network.target",
but I don't think we need to get into such detail here.
Per suggestion from Pablo Federico.
Discussion: https://postgr.es/m/166552157407.591805.10036014441784710940@wrigleys.postgresql.org
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions