public inbox for [email protected]  
help / color / mirror / Atom feed
From: Justin Pryzby <[email protected]>
To: Tom Lane <[email protected]>
Cc: [email protected]
Cc: [email protected]
Subject: Re: systemd service start - disable timeout with "infinity"
Date: Sun, 20 Mar 2022 14:36:29 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>

On Sun, Mar 20, 2022 at 12:11:19PM -0400, Tom Lane wrote:
> PG Doc comments form <[email protected]> writes:
> > In the service start section of the documentation, it is stated that using a
> > value of zero for TimeoutSec disables the systemd timeout. This is not
> > accurate and according to the documentation of systemd,
> > https://www.freedesktop.org/software/systemd/man/systemd.service.html#TimeoutStartSec=,
> > this should be set to "infinity" to disable the timeout.
> 
> Hmm ... maybe zero works too, or worked when this was written?
> But you're right that "infinity" is now the documented way
> to do it.  Will fix, thanks for the report.

FYI
https://www.postgresql.org/message-id/flat/20211129220234.GQ17618%40telsasoft.com
https://git.postgresql.org/gitweb/?p=pgrpms.git&a=commitdiff&h=c74dbe3781478597712066354d19b...
+# 0 is the same as infinity, but "infinity" needs systemd 229
+TimeoutStartSec=0





reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: systemd service start - disable timeout with "infinity"
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox