View | Details | Raw Unified | Return to bug 254962
Collapse All | Expand All

(-)b/www/nginx-devel/files/nginx.in (-2 / +8 lines)
Lines 31-37 Link Here
31
name="nginx"
31
name="nginx"
32
rcvar=nginx_enable
32
rcvar=nginx_enable
33
33
34
start_precmd="nginx_precmd"
34
start_precmd="nginx_prestart"
35
stop_precmd="nginx_prestop"
35
restart_precmd="nginx_checkconfig"
36
restart_precmd="nginx_checkconfig"
36
reload_precmd="nginx_checkconfig"
37
reload_precmd="nginx_checkconfig"
37
configtest_cmd="nginx_checkconfig"
38
configtest_cmd="nginx_checkconfig"
Lines 131-137 nginx_upgrade() Link Here
131
	run_rc_command ${rc_prefix}reload $rc_extra_args || return 1
132
	run_rc_command ${rc_prefix}reload $rc_extra_args || return 1
132
}
133
}
133
134
134
nginx_precmd() 
135
nginx_prestart()
135
{
136
{
136
	if checkyesno nginx_http_accept_enable
137
	if checkyesno nginx_http_accept_enable
137
	then
138
	then
Lines 148-151 nginx_precmd() Link Here
148
	fi
149
	fi
149
}
150
}
150
151
152
nginx_prestop()
153
{
154
	sig_stop="${nginx_sig_stop:-TERM}"
155
}
156
151
run_rc_command "$1"
157
run_rc_command "$1"

Return to bug 254962