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}       | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
 copy www-servers/nginx/files/{nginx.confd => nginx-r1.confd} (80%)

diff --git a/www-servers/nginx/files/nginx.confd 
b/www-servers/nginx/files/nginx-r1.confd
similarity index 80%
copy from www-servers/nginx/files/nginx.confd
copy to www-servers/nginx/files/nginx-r1.confd
index 478ad588f4e4..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/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
@@ -31,5 +26,7 @@
 # per default) when you are stopping the service.
 #NGINX_TERMTIMEOUT="TERM/60/KILL/5"
 
-# Run master process as user (requires configuration with setcap)
-#command_user="${NGINX_USER:-nginx}"
+# 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.45.3


Reply via email to