diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2010-03-11 09:42:07 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2010-03-11 09:42:07 +0000 |
commit | 08acf5c407242344b0047b8040900f52df620dde (patch) | |
tree | 49936ec28d8b2a4256959f13245d757df97e04bd /www/varnish2/files/varnishlog.in | |
parent | Upgrade to version 2.4.0. (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_7_3_0'.release/7.3.0
Diffstat (limited to 'www/varnish2/files/varnishlog.in')
-rw-r--r-- | www/varnish2/files/varnishlog.in | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/www/varnish2/files/varnishlog.in b/www/varnish2/files/varnishlog.in deleted file mode 100644 index dbd6a229c1b3..000000000000 --- a/www/varnish2/files/varnishlog.in +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: varnishlog -# REQUIRE: DAEMON -# KEYWORD: shutdown - -# -# Add the following line to /etc/rc.conf to enable varnishlog: -# -# varnishlog_enable="YES" -# -# Configuration variables and their default values: -# -# varnishlog_pidfile - full path to the PID file. -# default: "/var/run/varnishlog.pid" -# -# varnishlog_file - full path to the log file. -# default: "/var/log/varnish.log" -# -# varnishlog_flags - command line arguments. -# default: "-D -P ${varnishlog_pidfile} -a -w ${varnishlog_file}" -# -# Add the following line to /etc/newsyslog.conf to rotate the log file -# once a day: -# -# /var/log/varnish.log 640 7 * @T00 JB /var/run/varnishlog.pid -# -# See varnishlog(1) for a detailed overview of command-line options. -# - -. %%RC_SUBR%% - -name="varnishlog" -rcvar=`set_rcvar` - -command="%%PREFIX%%/bin/${name}" - -# read configuration and set defaults -load_rc_config ${name} -: ${varnishlog_enable:="NO"} -: ${varnishlog_pidfile:="/var/run/${name}.pid"} -: ${varnishlog_file:="/var/log/varnish.log"} -: ${varnishlog_flags:="-P ${varnishlog_pidfile} -D -a -w ${varnishlog_file}"} - -pidfile=${varnishlog_pidfile} -run_rc_command "$1" |