forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7551702
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 parent8f98352 commit7551702
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
435 | 435 |
| |
436 | 436 |
| |
437 | 437 |
| |
| 438 | + | |
| 439 | + | |
438 | 440 |
| |
439 | 441 |
| |
440 | 442 |
| |
|
0 commit comments
Comments
(0)