mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
www-servers/nginx: add nginx-r1.confd
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 <zurabid2016@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/37590
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
6fae8e18dd
commit
bd0f94bcec
32
www-servers/nginx/files/nginx-r1.confd
Normal file
32
www-servers/nginx/files/nginx-r1.confd
Normal file
@@ -0,0 +1,32 @@
|
||||
# /etc/conf.d/nginx
|
||||
|
||||
# Configuration file
|
||||
#NGINX_CONFIGFILE="/etc/nginx/nginx.conf"
|
||||
|
||||
# User to run nginx as
|
||||
# If you should ever change this, make sure this user has
|
||||
# execution permission on any of your log directories
|
||||
# (/var/log/nginx per default) but do NOT forget other log directories
|
||||
# one of your vhost(s) maybe using or logging after logrotation will
|
||||
# be broken).
|
||||
#NGINX_USER="nginx"
|
||||
|
||||
# Group to run nginx as
|
||||
# See the note above regarding NGINX_USER.
|
||||
#NGINX_GROUP="nginx"
|
||||
|
||||
# You can use this configuration option to pass additional options to the
|
||||
# start-stop-daemon, see start-stop-daemon(8) for more details.
|
||||
# Per default we wait 1000ms after we have started the service to ensure
|
||||
# that the daemon is really up and running.
|
||||
#NGINX_SSDARGS="--wait 1000"
|
||||
|
||||
# The termination timeout (start-stop-daemon parameter "retry") ensures
|
||||
# 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"
|
||||
Reference in New Issue
Block a user