--- /usr/portage/www-servers/varnish/files/varnishd.confd 2013-06-18 03:01:34.000000000 +0200 +++ /etc/conf.d/varnishd 2013-07-08 17:10:44.755050255 +0200 @@ -1,12 +1,16 @@ # /etc/conf.d/varnishd +VARNISHD="/usr/sbin/varnishd" +VARNISHADM="/usr/bin/varnishadm" +CONFIGFILE="/etc/varnish/default.vcl" + # Listen on 127.0.0.1:8080 and connect to backend 127.0.0.1:80 # Ignore the config file, /etc/varnish/default.vcl VARNISHD_OPTS="-a 127.0.0.1:8080 -b 127.0.0.1:80" # Alternatively, don't listen to a backend and use # the config file -#VARNISHD_OPTS="-a 127.0.0.1:8080 -f /etc/varnish/default.vcl" +#VARNISHD_OPTS="-a 127.0.0.1:8080 -f $CONFIGFILE" # arguments passed to varnishncsa # please see the varnishncsa man page for more options