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

Commit3f513ac

Browse files
committed
Doc: fix our example systemd script.
The example used "TimeoutSec=0", but systemd's documented way to getthe desired effect is "TimeoutSec=infinity".Discussion:https://postgr.es/m/164770078557.670.5467111518383664377@wrigleys.postgresql.org
1 parent3a671e1 commit3f513ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎doc/src/sgml/runtime.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ ExecStart=/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data
488488
ExecReload=/bin/kill -HUP $MAINPID
489489
KillMode=mixed
490490
KillSignal=SIGINT
491-
TimeoutSec=0
491+
TimeoutSec=infinity
492492

493493
[Install]
494494
WantedBy=multi-user.target
@@ -500,11 +500,11 @@ WantedBy=multi-user.target
500500
<para>
501501
Consider carefully the timeout
502502
setting. <application>systemd</application> has a default timeout of 90
503-
seconds as of this writing and will kill a process that does notnotify
503+
seconds as of this writing and will kill a process that does notreport
504504
readiness within that time. But a <productname>PostgreSQL</productname>
505505
server that might have to perform crash recovery at startup could take
506-
much longer to become ready. The suggested value of 0 disables the
507-
timeout logic.
506+
much longer to become ready. The suggested value
507+
of <literal>infinity</literal> disables thetimeout logic.
508508
</para>
509509
</listitem>
510510

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp