Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit02d43ad

Browse files
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.org
1 parentab35b9d commit02d43ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎doc/src/sgml/runtime.sgml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,8 @@ fi
387387
[Unit]
388388
Description=PostgreSQL database server
389389
Documentation=man:postgres(1)
390+
After=network-online.target
391+
Wants=network-online.target
390392

391393
[Service]
392394
Type=notify

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp