aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2012-02-28 18:26:19 +0800
committerosa <osa@FreeBSD.org>2012-02-28 18:26:19 +0800
commit8362b6da38048b031cba934396ca879537d3efae (patch)
treeb68c23ef58a6a55b164d0a319bb4f0684cc73ebf
parent36340d4ff1509d6af2c36fe09be24140e7bf42ae (diff)
downloadfreebsd-ports-gnome-8362b6da38048b031cba934396ca879537d3efae.tar.gz
freebsd-ports-gnome-8362b6da38048b031cba934396ca879537d3efae.tar.zst
freebsd-ports-gnome-8362b6da38048b031cba934396ca879537d3efae.zip
Move upward extra_commands string for compatible with rc.conf.d
feature. Do not bump PORTREVISIONs. PR: 165454
-rw-r--r--www/nginx-devel/files/nginx.sh.in2
-rw-r--r--www/nginx/files/nginx.sh.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/www/nginx-devel/files/nginx.sh.in b/www/nginx-devel/files/nginx.sh.in
index 61b6914955df..03c6600014cb 100644
--- a/www/nginx-devel/files/nginx.sh.in
+++ b/www/nginx-devel/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"
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"