This is the first revision of NGINX .confd file.

This removes the NGINX_PIDFILE configuration directive as it is now
unconditionally set to /run/${RV_SVCNAME}.pid.

Additionally, the NGINX_MAXWAITTIME variable has been added, which
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>
---
 .../nginx/files/{nginx.confd => nginx-r1.confd}        | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
 copy www-servers/nginx/files/{nginx.confd => nginx-r1.confd} (83%)

diff --git a/www-servers/nginx/files/nginx.confd 
b/www-servers/nginx/files/nginx-r1.confd
similarity index 83%
copy from www-servers/nginx/files/nginx.confd
copy to www-servers/nginx/files/nginx-r1.confd
index f4b804375e92..35c0d102d432 100644
--- a/www-servers/nginx/files/nginx.confd
+++ b/www-servers/nginx/files/nginx-r1.confd
@@ -3,11 +3,6 @@
 # Configuration file
 #NGINX_CONFIGFILE="/etc/nginx/nginx.conf"
 
-# PID file
-# If you should ever change this, remember to update
-# "/etc/logrotate.d/nginx", too.
-#NGINX_PIDFILE="/run/nginx.pid"
-
 # User to run nginx as
 # If you should ever change this, make sure this user has
 # execution permission on any of your log directories
@@ -30,3 +25,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