diff options
| author | Sergey A. Osokin <osa@FreeBSD.org> | 2007-06-18 07:13:27 +0000 |
|---|---|---|
| committer | Sergey A. Osokin <osa@FreeBSD.org> | 2007-06-18 07:13:27 +0000 |
| commit | 935b0f030e20bbb5e01ea63daa6c2772d95f0009 (patch) | |
| tree | d84bb5268001e781afa8e310552eeab1cfac1912 /www/nginx-devel/files | |
| parent | Update to 0.5.26. (diff) | |
Update to 0.6.1.
Fix rc script functionality for extra configtest_cmd command. (*)
<ChangeLog>
*) Bugfix: in SSI parsing.
*) Bugfix: if remote SSI subrequest was used, then posterior local file
subrequest might transferred to client in wrong order.
*) Bugfix: large SSI inclusions buffered in temporary files were
truncated.
*) Bugfix: the perl $$ variable value in ngx_http_perl_module was equal
to the master process identification number.
</ChangeLog>
Spotted by: Andrey Y. Ostanovsky <andrey at ostanovsky dot spb dot ru> (*)
Notes
Notes:
svn path=/head/; revision=193758
Diffstat (limited to 'www/nginx-devel/files')
| -rw-r--r-- | www/nginx-devel/files/nginx.sh.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/www/nginx-devel/files/nginx.sh.in b/www/nginx-devel/files/nginx.sh.in index dcbd00d0213c..69e3405162b0 100644 --- a/www/nginx-devel/files/nginx.sh.in +++ b/www/nginx-devel/files/nginx.sh.in @@ -23,22 +23,22 @@ name="nginx" rcvar=`set_rcvar` command="%%PREFIX%%/sbin/nginx" +load_rc_config $name + +pidfile="${nginx_pidfile}" + extra_commands="configtest reload" configtest_cmd="configtest_cmd" configtest_cmd() { echo "Configuration syntax test for ${name}." - if ${command} -t; then + if ${command} ${nginx_flags} -t; then : else err 8 "FATAL: bad config for ${name}" fi } -load_rc_config $name - -pidfile="${nginx_pidfile}" - start_cmd="echo \"Starting ${name}.\"; /usr/bin/limits -U www ${command} ${nginx_flags}" run_rc_command "$1" |
