Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nVy9Z-00043M-KF for pgsql-docs@arkaria.postgresql.org; Sun, 20 Mar 2022 16:11:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nVy9W-0003eO-UE for pgsql-docs@arkaria.postgresql.org; Sun, 20 Mar 2022 16:11:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nVy9W-0003bv-Mu for pgsql-docs@lists.postgresql.org; Sun, 20 Mar 2022 16:11:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nVy9S-00057F-4f for pgsql-docs@lists.postgresql.org; Sun, 20 Mar 2022 16:11:32 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 22KGBJUO1445302; Sun, 20 Mar 2022 12:11:20 -0400 From: Tom Lane To: jordan@jwillikers.com cc: pgsql-docs@lists.postgresql.org Subject: Re: systemd service start - disable timeout with "infinity" In-reply-to: <164770078557.670.5467111518383664377@wrigleys.postgresql.org> References: <164770078557.670.5467111518383664377@wrigleys.postgresql.org> Comments: In-reply-to PG Doc comments form message dated "Sat, 19 Mar 2022 14:39:45 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1445300.1647792679.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 20 Mar 2022 12:11:19 -0400 Message-ID: <1445301.1647792679@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Doc comments form writes: > In the service start section of the documentation, it is stated that usi= ng 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#Ti= meoutStartSec=3D, > 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. regards, tom lane