aboutsummaryrefslogtreecommitdiffstats
path: root/www/varnish2
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2008-10-20 17:12:40 +0800
committerdes <des@FreeBSD.org>2008-10-20 17:12:40 +0800
commita6e6f3dc7b599fe8abb799dd2b7422282cf35a38 (patch)
treea3777580bccaa3fb6fed22d6f467f1c9108facb9 /www/varnish2
parentef4135681d91e7710e282e2e599e3c793f52e46a (diff)
downloadfreebsd-ports-gnome-a6e6f3dc7b599fe8abb799dd2b7422282cf35a38.tar.gz
freebsd-ports-gnome-a6e6f3dc7b599fe8abb799dd2b7422282cf35a38.tar.zst
freebsd-ports-gnome-a6e6f3dc7b599fe8abb799dd2b7422282cf35a38.zip
Run varnishd as www:www
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"