forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2d27e13
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 parent8a927e3 commit2d27e13
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
480 | 480 |
| |
481 | 481 |
| |
482 | 482 |
| |
| 483 | + | |
| 484 | + | |
483 | 485 |
| |
484 | 486 |
| |
485 | 487 |
| |
|
0 commit comments
Comments
(0)