diff options
| author | Sergey A. Osokin <osa@FreeBSD.org> | 2008-07-30 15:21:16 +0000 |
|---|---|---|
| committer | Sergey A. Osokin <osa@FreeBSD.org> | 2008-07-30 15:21:16 +0000 |
| commit | ae6b33cae60aa1e5a1c49dd698274ccaa3fc8d0d (patch) | |
| tree | 6c62e2fd98fa2152578da519f2d1168a3052163f /www/nginx-devel/files | |
| parent | IPC::Run and IPC::Run3 are both very upset when you try to use them (diff) | |
Update from 0.7.6 to 0.7.7.
Remove useless function from rc script.
Cleanup whitespaces.
<ChangeLog>
*) Change: now the EAGAIN error returned by connect() is not considered
as temporary error.
*) Change: now the $ssl_client_cert variable value is a certificate
with TAB character intended before each line except first one; an
unchanged certificate is available in the $ssl_client_raw_cert
variable.
*) Feature: the "ask" parameter in the "ssl_verify_client" directive.
*) Feature: byte-range processing improvements.
Thanks to Maxim Dounin.
*) Feature: the "directio" directive.
*) Feature: MacOSX 1.5 sendfile() support.
*) Bugfix: now in MacOSX and Cygwin locations are tested in case
insensitive mode; however, the compare is provided by single-byte
locales only.
*) Bugfix: mail proxy SSL connections hanged, if select, poll, or
/dev/poll methods were used.
*) Bugfix: UTF-8 encoding usage in the ngx_http_autoindex_module.
</ChangeLog>
Diffstat (limited to 'www/nginx-devel/files')
| -rw-r--r-- | www/nginx-devel/files/nginx.sh.in | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/www/nginx-devel/files/nginx.sh.in b/www/nginx-devel/files/nginx.sh.in index 80d1f1f724b6..b87ef0a8b295 100644 --- a/www/nginx-devel/files/nginx.sh.in +++ b/www/nginx-devel/files/nginx.sh.in @@ -35,11 +35,11 @@ _pidprefix="/var/run/nginx" pidfile="${_pidprefix}.pid" required_files=%%PREFIX%%/etc/nginx/nginx.conf -[ -z "$nginx_enable" ] && nginx_enable="NO" -[ -z "$nginx_profiles" ] && nginx_profiles="" -[ -z "$nginx_flags" ] && nginx_flags="" -[ -z "$nginxlimits_enable" ] && nginxlimits_enable="NO" -[ -z "$nginxlimits_args" ] && nginxlimits_args="-e -U %%WWWOWN%%" +[ -z "$nginx_enable" ] && nginx_enable="NO" +[ -z "$nginx_profiles" ] && nginx_profiles="" +[ -z "$nginx_flags" ] && nginx_flags="" +[ -z "$nginxlimits_enable" ] && nginxlimits_enable="NO" +[ -z "$nginxlimits_args" ] && nginxlimits_args="-e -U %%WWWOWN%%" load_rc_config $name @@ -77,14 +77,6 @@ else fi fi -nginx_requirepidfile() -{ - if [ ! "0`check_pidfile ${pidfile} ${command}`" -gt 1 ]; then - echo "${name} not running? (check $pidfile)." - exit 1 - fi -} - nginx_checkconfig() { echo "Performing sanity check on nginx configuration:" @@ -117,7 +109,7 @@ nginx_precmd() eval `/usr/bin/limits ${nginxlimits_args}` 2>/dev/null else return 0 - fi + fi } extra_commands="reload configtest upgrade" |
