summaryrefslogtreecommitdiff
path: root/www/nginx-devel/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/nginx-devel/files')
-rw-r--r--www/nginx-devel/files/nginx.sh32
-rw-r--r--www/nginx-devel/files/patch-conf-nginx.conf32
2 files changed, 0 insertions, 64 deletions
diff --git a/www/nginx-devel/files/nginx.sh b/www/nginx-devel/files/nginx.sh
deleted file mode 100644
index da3e9d13d694..000000000000
--- a/www/nginx-devel/files/nginx.sh
+++ /dev/null
@@ -1,32 +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"
-
-load_rc_config $name
-
-pidfile="${nginx_pidfile}"
-
-start_cmd="echo \"Starting ${name}.\"; /usr/bin/limits -U www ${command} ${nginx_flags}"
-
-run_rc_command "$1"
diff --git a/www/nginx-devel/files/patch-conf-nginx.conf b/www/nginx-devel/files/patch-conf-nginx.conf
deleted file mode 100644
index 734d51b9382a..000000000000
--- a/www/nginx-devel/files/patch-conf-nginx.conf
+++ /dev/null
@@ -1,32 +0,0 @@
-
-$FreeBSD$
-
---- conf/nginx.conf.orig Wed Oct 20 14:46:31 2004
-+++ conf/nginx.conf Thu Oct 21 19:47:18 2004
-@@ -12,7 +12,7 @@
-
-
- http {
-- include conf/mime.types;
-+ include mime.types;
- default_type application/octet-stream;
-
- sendfile on;
-@@ -20,7 +20,7 @@
- #gzip on;
-
- server {
-- listen 80;
-+ listen %%HTTP_PORT%%;
-
- charset on;
- source_charset koi8-r;
-@@ -28,7 +28,7 @@
- #access_log logs/access.log;
-
- location / {
-- root html;
-+ root %%PREFIX%%/www/nginx;
- index index.html index.htm;
- }
-