diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/nginx-devel/Makefile | 2 | ||||
-rw-r--r-- | www/nginx-devel/distinfo | 6 | ||||
-rw-r--r-- | www/nginx-devel/files/nginx.sh.in | 10 |
3 files changed, 9 insertions, 9 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index c86a5e012819..b812fd0b28ed 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nginx -PORTVERSION= 0.6.0 +PORTVERSION= 0.6.1 CATEGORIES= www MASTER_SITES= http://sysoev.ru/nginx/ MASTER_SITES+= ${MASTER_SITE_LOCAL} diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo index 06891bb98655..999a1b90b9b1 100644 --- a/www/nginx-devel/distinfo +++ b/www/nginx-devel/distinfo @@ -1,3 +1,3 @@ -MD5 (nginx-0.6.0.tar.gz) = 8397d953f4718a78d465de1e5f333c35 -SHA256 (nginx-0.6.0.tar.gz) = 99d7042a66ddd842043beebbe0e09e3da5742f8f5120c91b2c67b42c6bd2b970 -SIZE (nginx-0.6.0.tar.gz) = 471941 +MD5 (nginx-0.6.1.tar.gz) = 0c89f15d2d555c968249aa84758c8c45 +SHA256 (nginx-0.6.1.tar.gz) = 421cc9a0499fc221540c8f221b142cdc12e73d58655956a537e0f9c73b34084d +SIZE (nginx-0.6.1.tar.gz) = 472353 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" |