diff options
Diffstat (limited to 'www/varnish2/files/varnishd.in')
-rw-r--r-- | www/varnish2/files/varnishd.in | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/www/varnish2/files/varnishd.in b/www/varnish2/files/varnishd.in deleted file mode 100644 index babf2d908701..000000000000 --- a/www/varnish2/files/varnishd.in +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh -# -# $Id$ -# - -# 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_flags="-P ${pidfile} -a ${varnishd_listen} -f ${varnishd_config} -T ${varnishd_telnet} -s ${varnishd_storage}" -# -# 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_flags="-P ${pidfile} -a ${varnishd_listen} -f ${varnishd_config} -T ${varnishd_telnet} -s ${varnishd_storage}"} - -run_rc_command "$1" |