FreeBSD Bugzilla – Attachment 224003 Details for
Bug 254962
www/nginx-devel: 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-devel.diff
nginx-devel.diff (text/plain), 755 bytes, created by
Dmitry Wagin
on 2021-04-10 21:21:04 UTC
(
hide
)
Description:
nginx-devel.diff
Filename:
MIME Type:
Creator:
Dmitry Wagin
Created:
2021-04-10 21:21:04 UTC
Size:
755 bytes
patch
obsolete
>diff --git a/www/nginx-devel/files/nginx.in b/www/nginx-devel/files/nginx.in >index 379229c45d..8f29c3cc91 100644 >--- a/www/nginx-devel/files/nginx.in >+++ b/www/nginx-devel/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 254962
: 224003