From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 21B3D158170 for ; Wed, 17 Jul 2024 12:07:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0499E2BC12D; Wed, 17 Jul 2024 12:06:04 +0000 (UTC) Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CC7B72BC12B for ; Wed, 17 Jul 2024 12:06:03 +0000 (UTC) Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2eeb1ba040aso90388931fa.1 for ; Wed, 17 Jul 2024 05:06:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721217962; x=1721822762; darn=lists.gentoo.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=z2aMMwP/X32BnPlkkpDKUjgAeDyn+67Miflxwuzkt3M=; b=QCvtEag+TlXxP+SFOwyRjAMqGYqthP2BoPtigCmbsJqeL1+HfLPsoa9xYFyZXR3iZP XgnfqDC1J5d3TKOrsFWMCocmGIkc+DhGV01OXPGdEkU7r5zxmSr57dOTNEePVGy+cO7N dNuTGTs3D5XOjCb305podwdwK32QhJiS39vXXLwXeijkdDkp/pW7ixwadEYf+dxXLp28 8Rr5js9+V3QM65Zp9btimGeCk/Rj9KBIMcpjkcqYrG8FDkb3QZ0wCAx1lY7FrRZYfH9r K3MQOvzF+wn9dar8CCvk4CHHbxAb6QVxjow16Dk1KJnJ0Ek5iluJMH2xVmwmPYTqfbHo niDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721217962; x=1721822762; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=z2aMMwP/X32BnPlkkpDKUjgAeDyn+67Miflxwuzkt3M=; b=D+U/2JjKURj2gV7RhBg96x25m97t/uKu6hwQdG7GtIwNHw4K6TD7TzeMz8fnrsQ+0A K+XD40V2HzH1I+GeieOcNqg9LHZ4p+N2AI0APP/3UOOV5ztHbfOeHc7HQkY+PysraAe+ xLAMWSPzigEefpDvd11WnQXBLzB8kfBYSiMv5TqF1CyVbrkGRGUxIY66gw1H0phl1api LpGJW3G9XLD+ibfI2ABmyAbQWWdJa/xNaw6FBuDh1YQQrSVvUoBMKvp5+qnltynLuENa rGadO7UVWe7ZPM0A/BcSFzZzhGugdW6+HAwnf4Q0FrOb79oTT+YVKkjIUN4ztNmZZzmO V5eQ== X-Gm-Message-State: AOJu0Yw0NTtReCfESZVYZopQukQsH5BIMRFrOre98Yh3apk9KyD3EvXP bc7FkaEfHJ+3Bj3pYerwxHUMYvhsgvCNDnr3hfksecwkoVUymRuO1ro8VQ== X-Google-Smtp-Source: AGHT+IHqgPrZvB1dWWfUpEQwYsy6VyokO89Vu245otLb9y3HbDJoVkdeBoeTOZpB49r6jdmFper5RA== X-Received: by 2002:a2e:9b56:0:b0:2ee:e0a1:c496 with SMTP id 38308e7fff4ca-2eefd04f30cmr10476161fa.9.1721217962338; Wed, 17 Jul 2024 05:06:02 -0700 (PDT) Received: from localhost.localdomain ([62.244.50.57]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2eee1914ad5sm14636941fa.79.2024.07.17.05.06.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jul 2024 05:06:02 -0700 (PDT) From: Zurab Kvachadze To: gentoo-dev@lists.gentoo.org Cc: Zurab Kvachadze Subject: [gentoo-dev] [RFC PATCH 05/19] www-servers/nginx: add nginx-r1.confd Date: Wed, 17 Jul 2024 15:05:37 +0300 Message-ID: <20240717120553.31866-6-zurabid2016@gmail.com> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240717120553.31866-1-zurabid2016@gmail.com> References: <20240717120553.31866-1-zurabid2016@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: ca98d7ed-b233-48de-b437-e42a48dcfbe0 X-Archives-Hash: f96c0b48d57a53574bcfca73c3f607e8 This is the first revision of NGINX .confd file. This adds the NGINX_MAXWAITTIME variable that configures the maximum amount of time for the upgrade() function to wait for NGINX to start before producing an error. Signed-off-by: Zurab Kvachadze --- www-servers/nginx/files/{nginx.confd => nginx-r1.confd} | 5 +++++ 1 file changed, 5 insertions(+) copy www-servers/nginx/files/{nginx.confd => nginx-r1.confd} (85%) diff --git a/www-servers/nginx/files/nginx.confd b/www-servers/nginx/files/nginx-r1.confd similarity index 85% copy from www-servers/nginx/files/nginx.confd copy to www-servers/nginx/files/nginx-r1.confd index f4b804375e92..374305c52ea2 100644 --- a/www-servers/nginx/files/nginx.confd +++ b/www-servers/nginx/files/nginx-r1.confd @@ -30,3 +30,8 @@ # that the service will be terminated within a given time (60 + 5 seconds # per default) when you are stopping the service. #NGINX_TERMTIMEOUT="TERM/60/KILL/5" + +# For the 'upgrade' function, this defines the maximum amount of time (in +# seconds) the script should wait for the new NGINX binary to start before +# producing an error. +#NGINX_MAXWAITTIME="3" -- 2.44.2