From 8362b6da38048b031cba934396ca879537d3efae Mon Sep 17 00:00:00 2001 From: osa Date: Tue, 28 Feb 2012 10:26:19 +0000 Subject: Move upward extra_commands string for compatible with rc.conf.d feature. Do not bump PORTREVISIONs. PR: 165454 --- www/nginx/files/nginx.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/nginx') diff --git a/www/nginx/files/nginx.sh.in b/www/nginx/files/nginx.sh.in index 61b6914955df..03c6600014cb 100644 --- a/www/nginx/files/nginx.sh.in +++ b/www/nginx/files/nginx.sh.in @@ -35,6 +35,7 @@ command="%%PREFIX%%/sbin/nginx" _pidprefix="/var/run/nginx" pidfile="${_pidprefix}.pid" required_files=%%PREFIX%%/etc/nginx/nginx.conf +extra_commands="reload configtest upgrade gracefulstop" [ -z "$nginx_enable" ] && nginx_enable="NO" [ -z "$nginxlimits_enable" ] && nginxlimits_enable="NO" @@ -118,5 +119,4 @@ nginx_precmd() fi } -extra_commands="reload configtest upgrade gracefulstop" run_rc_command "$1" -- cgit