aboutsummaryrefslogtreecommitdiff
path: root/www/varnish2
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2008-10-20 09:12:40 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2008-10-20 09:12:40 +0000
commit179d814597614f1b1441af870a9fab1c16eb6c07 (patch)
treedb652410b8e33cf14ddebaf45c804ed0100686c5 /www/varnish2
parenta08d67513ca8a5c51d1b0bb000e2f802b197849b (diff)
downloadports-179d814597614f1b1441af870a9fab1c16eb6c07.tar.gz
ports-179d814597614f1b1441af870a9fab1c16eb6c07.zip
Notes
Diffstat (limited to 'www/varnish2')
-rw-r--r--www/varnish2/files/varnishd.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/varnish2/files/varnishd.in b/www/varnish2/files/varnishd.in
index babf2d908701..e283839e5fae 100644
--- a/www/varnish2/files/varnishd.in
+++ b/www/varnish2/files/varnishd.in
@@ -18,7 +18,9 @@
#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}"
+#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.
#
@@ -38,6 +40,8 @@ load_rc_config ${name}
: ${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}"}
+: ${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}"}
run_rc_command "$1"