diff options
author | osa <osa@FreeBSD.org> | 2012-02-28 18:26:19 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2012-02-28 18:26:19 +0800 |
commit | 8362b6da38048b031cba934396ca879537d3efae (patch) | |
tree | b68c23ef58a6a55b164d0a319bb4f0684cc73ebf | |
parent | 36340d4ff1509d6af2c36fe09be24140e7bf42ae (diff) | |
download | freebsd-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.in | 2 | ||||
-rw-r--r-- | www/nginx/files/nginx.sh.in | 2 |
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" |