FreeBSD Bugzilla – Attachment 224002 Details for
Bug 254961
www/nginx: add the ability to customize the stop signal
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
nginx.diff
nginx.diff (text/plain), 731 bytes, created by
Dmitry Wagin
on 2021-04-10 21:13:37 UTC
(
hide
)
Description:
nginx.diff
Filename:
MIME Type:
Creator:
Dmitry Wagin
Created:
2021-04-10 21:13:37 UTC
Size:
731 bytes
patch
obsolete
>diff --git a/www/nginx/files/nginx.in b/www/nginx/files/nginx.in >index ef1c0561e4..1b1e220220 100644 >--- a/www/nginx/files/nginx.in >+++ b/www/nginx/files/nginx.in >@@ -31,7 +31,8 @@ > name="nginx" > rcvar=nginx_enable > >-start_precmd="nginx_precmd" >+start_precmd="nginx_prestart" >+stop_precmd="nginx_prestop" > restart_precmd="nginx_checkconfig" > reload_precmd="nginx_checkconfig" > configtest_cmd="nginx_checkconfig" >@@ -131,7 +132,7 @@ nginx_upgrade() > run_rc_command ${rc_prefix}reload $rc_extra_args || return 1 > } > >-nginx_precmd() >+nginx_prestart() > { > if checkyesno nginx_http_accept_enable > then >@@ -148,4 +149,9 @@ nginx_precmd() > fi > } > >+nginx_prestop() >+{ >+ sig_stop="${nginx_sig_stop:-TERM}" >+} >+ > run_rc_command "$1"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 254961
: 224002