diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2010-05-05 22:29:57 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2010-05-05 22:29:57 +0000 |
commit | 6897c22c12de5bf7862a8f32dfb0001de76df099 (patch) | |
tree | 7b58be9aef1f6daf1834e8817d60e17e1073a80c /www/varnish | |
parent | f0298a0f8a57e8a5aa0b90a3bdbfe604eb5770c1 (diff) |
Notes
Diffstat (limited to 'www/varnish')
-rw-r--r-- | www/varnish/files/varnishd.in | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/www/varnish/files/varnishd.in b/www/varnish/files/varnishd.in index a5936978a80e..93c070424252 100644 --- a/www/varnish/files/varnishd.in +++ b/www/varnish/files/varnishd.in @@ -31,6 +31,9 @@ # varnishd_config - name of the varnishd config file. # default: unset. # +# varnishd_hash - hash algorithm +# default: "classic,16383" +# # varnishd_storage - storage method and parameters. # default: "file,/tmp,50%" # @@ -41,8 +44,8 @@ # default: "www" # # varnishd_flags - complete command line arguments. -# default if varnishd_config is unset: "-P ${varnishd_pidfile} -a ${varnishd_listen} -T ${varnishd_admin} -b ${varnishd_backend} -s ${varnishd_storage} -u ${varnishd_user} -g ${varnishd_group}" -# default if varnishd_config is set: "-P ${varnishd_pidfile} -a ${varnishd_listen} -T ${varnishd_admin} -f ${varnishd_config} -s ${varnishd_storage} -u ${varnishd_user} -g ${varnishd_group}" +# default if varnishd_config is unset: "-P ${varnishd_pidfile} -a ${varnishd_listen} -T ${varnishd_admin} -b ${varnishd_backend} -s ${varnishd_storage} -h ${varnishd_hash} -u ${varnishd_user} -g ${varnishd_group}" +# default if varnishd_config is set: "-P ${varnishd_pidfile} -a ${varnishd_listen} -T ${varnishd_admin} -f ${varnishd_config} -s ${varnishd_storage} -h ${varnishd_hash} -u ${varnishd_user} -g ${varnishd_group}" # # See varnishd(1) for a detailed overview of command-line options. # @@ -63,12 +66,13 @@ load_rc_config ${name} : ${varnishd_backend:="localhost:8080"} : ${varnishd_config:=""} : ${varnishd_storage:="file,/tmp,50%"} +: ${varnishd_hash:="classic,16383"} : ${varnishd_user:="www"} : ${varnishd_group:="www"} if [ -n "${varnishd_config}" ] ; then - : ${varnishd_flags:="-P ${varnishd_pidfile} -a ${varnishd_listen} -T ${varnishd_admin} -f ${varnishd_config} -s ${varnishd_storage} -u ${varnishd_user} -g ${varnishd_group}"} + : ${varnishd_flags:="-P ${varnishd_pidfile} -a ${varnishd_listen} -T ${varnishd_admin} -f ${varnishd_config} -s ${varnishd_storage} -h ${varnishd_hash} -u ${varnishd_user} -g ${varnishd_group}"} else - : ${varnishd_flags:="-P ${varnishd_pidfile} -a ${varnishd_listen} -T ${varnishd_admin} -b ${varnishd_backend} -s ${varnishd_storage} -u ${varnishd_user} -g ${varnishd_group}"} + : ${varnishd_flags:="-P ${varnishd_pidfile} -a ${varnishd_listen} -T ${varnishd_admin} -b ${varnishd_backend} -s ${varnishd_storage} -h ${varnishd_hash} -u ${varnishd_user} -g ${varnishd_group}"} fi # If we leave these set, rc.subr will su to them before starting |