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 <zurabid2...@gmail.com>
---
 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


Reply via email to