diff options
Diffstat (limited to 'www/nginx-devel/files/nginx.sh.in')
-rw-r--r-- | www/nginx-devel/files/nginx.sh.in | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/www/nginx-devel/files/nginx.sh.in b/www/nginx-devel/files/nginx.sh.in deleted file mode 100644 index dcbd00d0213c..000000000000 --- a/www/nginx-devel/files/nginx.sh.in +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -# $FreeBSD$ - -# PROVIDE: nginx -# REQUIRE: DAEMON -# BEFORE: LOGIN -# KEYWORD: shutdown - -# Define these nginx_* variables in one of these files: -# /etc/rc.conf -# /etc/rc.conf.local -# /etc/rc.conf.d/nginx -# -# DO NOT CHANGE THESE DEFAULT VALUES HERE -# -nginx_enable=${nginx_enable-"NO"} -nginx_flags=${nginx_flags-""} -nginx_pidfile=${nginx_pidfile-"/var/run/nginx.pid"} - -. %%RC_SUBR%% - -name="nginx" -rcvar=`set_rcvar` -command="%%PREFIX%%/sbin/nginx" - -extra_commands="configtest reload" - -configtest_cmd="configtest_cmd" -configtest_cmd() { - echo "Configuration syntax test for ${name}." - if ${command} -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" |