- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit02d43ad
committed
Doc: improve recommended systemd unit file.
Add After=network-online.target Wants=network-online.targetto the suggested unit file for starting a Postgres server.This delays startup until the network interfaces have beenconfigured; without that, any attempt to bind to a specificIP address will fail.If listen_addresses is set to "localhost" or "*", it might bepossible 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.org1 parentab35b9d commit02d43ad
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
387 | 387 |
| |
388 | 388 |
| |
389 | 389 |
| |
| 390 | + | |
| 391 | + | |
390 | 392 |
| |
391 | 393 |
| |
392 | 394 |
| |
|
0 commit comments
Comments
(0)