nginx-sid/debian/nginx-common.nginx.default
Christos Trochalakis 3e7b102360 initscript: gracefully stop nginx by default
Following the previous commit, we sync the initscript with the
systemd.service file. We now give nginx 10 secs to gracefully stop
before force stopping it.

Also we introduce a STOP_SCHEDULE variable to make this configurable.
2014-10-13 10:46:17 +03:00

10 lines
389 B
Text

# Note: You may want to look at the following page before setting the ULIMIT.
# http://wiki.nginx.org/CoreModule#worker_rlimit_nofile
# Set the ulimit variable if you need defaults to change.
# Example: ULIMIT="-n 4096"
#ULIMIT="-n 4096"
# Define the stop schedule for nginx
# see the start-stop-daemon --retry documentation for more information
#
#STOP_SCHEDULE="QUIT/5/TERM/5/KILL/5"