Skip to content

Commit 3f513ac

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

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 not notify
503+
seconds as of this writing and will kill a process that does not report
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 the timeout logic.
508508
</para>
509509
</listitem>
510510

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy