aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-10-12 10:51:11 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2022-10-12 10:51:36 -0400
commitde924f4bb3eb26d24c32b344ebf047f03dd1d94d (patch)
tree1f919e207877742ee83172a0df69970bdf484249 /src
parent7442701374a448663061c493b40926c4e8d68838 (diff)
downloadpostgresql-de924f4bb3eb26d24c32b344ebf047f03dd1d94d.tar.gz
postgresql-de924f4bb3eb26d24c32b344ebf047f03dd1d94d.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 'src')
0 files changed, 0 insertions, 0 deletions