Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hT1XM-0002HX-S0 for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 21 May 2019 09:58:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hT1XK-0008Ro-G6 for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 21 May 2019 09:58:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hT1XK-0008Rh-9f for pgsql-pkg-debian@lists.postgresql.org; Tue, 21 May 2019 09:58:22 +0000 Received: from nkaal.lardiere.net ([2001:41d0:a:25a3::1] helo=ks3094086.kimsufi.com) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hT1XH-0003ab-Vk for pgsql-pkg-debian@lists.postgresql.org; Tue, 21 May 2019 09:58:21 +0000 Received: from [192.168.1.31] (gge44-1-78-198-201-34.fbx.proxad.net [78.198.201.34]) by ks3094086.kimsufi.com (Postfix) with ESMTPSA id A1B98FF21B for ; Tue, 21 May 2019 11:58:16 +0200 (CEST) To: pgsql-pkg-debian@lists.postgresql.org From: =?UTF-8?Q?S=c3=a9bastien_Lardi=c3=a8re?= Subject: Upgrade packages - Control Instance Message-ID: Date: Tue, 21 May 2019 11:58:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: fr-classic List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, I'm looking for a way to control the way instances are restarted when `apt upgrade` run => sometime, if there is a large number of packages to upgrade, the instances is stopped for a long time. In the past, I used to use start.conf with manual setting, then restart "manually" after the upgrade, which give downtime as short as I can ; but now, it seems that "stop" is always done, even when i disable the systemd service (ok,it is weird to disable service and to want the service up, I know ) => I think that the fact we can't forbid the stop is not correct. I know that I can hold the postgresql packages, run the big `apt upgrade` then unhold packages and do the postgresql upgrade, but I think it's a more complicated way to do it. Am I miss something ? Am I the only one disturbed by the fact that we can't forbid stop ? regards, -- Sébastien