summaryrefslogtreecommitdiff
path: root/www/varnish2/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/varnish2/files')
-rw-r--r--www/varnish2/files/varnishd.in52
-rw-r--r--www/varnish2/files/varnishlog.in39
-rw-r--r--www/varnish2/files/varnishncsa.in39
3 files changed, 0 insertions, 130 deletions
diff --git a/www/varnish2/files/varnishd.in b/www/varnish2/files/varnishd.in
deleted file mode 100644
index 90195b126d5e..000000000000
--- a/www/varnish2/files/varnishd.in
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: varnishd
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable varnishd:
-#
-#varnishd_enable="YES"
-#
-# Configuration variables and their default values:
-#
-#varnishd_listen=":6081"
-#varnishd_config="%%PREFIX%%/etc/varnish/default.vcl"
-#varnishd_telnet="localhost:6082"
-#varnishd_storage="file,/tmp,50%"
-#varnishd_user="www"
-#varnishd_group="www"
-#varnishd_flags="-P ${pidfile} -a ${varnishd_listen} -f ${varnishd_config} -T ${varnishd_telnet} -s ${varnishd_storage} -u ${varnishd_user} -g ${varnishd_group}"
-#
-# See varnishd(1) for a detailed overview of command-line options.
-#
-
-. %%RC_SUBR%%
-
-name=varnishd
-rcvar=`set_rcvar`
-
-command="%%PREFIX%%/sbin/varnishd"
-pidfile="/var/run/${name}.pid"
-
-# read configuration and set defaults
-load_rc_config ${name}
-: ${varnishd_enable="NO"}
-: ${varnishd_listen=":6081"}
-: ${varnishd_config="%%PREFIX%%/etc/varnish/default.vcl"}
-: ${varnishd_telnet="localhost:6082"}
-: ${varnishd_storage="file,/tmp,50%"}
-: ${varnishd_user="www"}
-: ${varnishd_group="www"}
-: ${varnishd_flags="-P ${pidfile} -a ${varnishd_listen} -f ${varnishd_config} -T ${varnishd_telnet} -s ${varnishd_storage} -u ${varnishd_user} -g ${varnishd_group}"}
-
-# If we leave these set, rc.subr will su to them before starting
-# varnishd, which is not what we want.
-unset varnishd_user
-unset varnishd_group
-
-run_rc_command "$1"
diff --git a/www/varnish2/files/varnishlog.in b/www/varnish2/files/varnishlog.in
deleted file mode 100644
index 7d07528e7b52..000000000000
--- a/www/varnish2/files/varnishlog.in
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: varnishlog
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable varnishlog:
-#
-#varnishlog_enable="YES"
-#
-# Configuration variables and their default values:
-#
-#varnishlog_file=${varnishlog_file:-"/var/log/varnish.log"}
-#varnishlog_flags=${varnishlog_flags:-"-D -P ${pidfile} -a -w ${varnishlog_file}"}
-#
-# See varnishlog(1) for a detailed overview of command-line options.
-#
-
-. %%RC_SUBR%%
-
-name=varnishlog
-rcvar=`set_rcvar`
-
-command="%%PREFIX%%/bin/varnishlog"
-pidfile="/var/run/${name}.pid"
-
-# read configuration and set defaults
-load_rc_config ${name}
-: ${varnishlog_enable="NO"}
-: ${varnishlog_file="/var/log/varnish.log"}
-: ${varnishlog_flags="-P ${pidfile} -D -a -w ${varnishlog_file}"}
-
-load_rc_config ${name}
-
-run_rc_command "$1"
diff --git a/www/varnish2/files/varnishncsa.in b/www/varnish2/files/varnishncsa.in
deleted file mode 100644
index 46b113f50e4c..000000000000
--- a/www/varnish2/files/varnishncsa.in
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: varnishncsa
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable varnishncsa:
-#
-#varnishncsa_enable="YES"
-#
-# Configuration variables and their default values:
-#
-#varnishncsa_file=${varnishncsa_file:-"/var/log/varnish-ncsa.log"}
-#varnishncsa_flags=${varnishncsa_flags:-"-D -P ${pidfile} -a -w ${varnishncsa_file}"}
-#
-# See varnishncsa(1) for a detailed overview of command-line options.
-#
-
-. %%RC_SUBR%%
-
-name=varnishncsa
-rcvar=`set_rcvar`
-
-command="%%PREFIX%%/bin/varnishncsa"
-pidfile="/var/run/${name}.pid"
-
-# read configuration and set defaults
-load_rc_config ${name}
-: ${varnishncsa_enable="NO"}
-: ${varnishncsa_file="/var/log/varnish-ncsa.log"}
-: ${varnishncsa_flags="-P ${pidfile} -D -a -w ${varnishncsa_file}"}
-
-load_rc_config ${name}
-
-run_rc_command "$1"