diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2008-10-20 09:12:40 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2008-10-20 09:12:40 +0000 |
commit | 179d814597614f1b1441af870a9fab1c16eb6c07 (patch) | |
tree | db652410b8e33cf14ddebaf45c804ed0100686c5 /www/varnish2 | |
parent | a08d67513ca8a5c51d1b0bb000e2f802b197849b (diff) | |
download | ports-179d814597614f1b1441af870a9fab1c16eb6c07.tar.gz ports-179d814597614f1b1441af870a9fab1c16eb6c07.zip |
Notes
Diffstat (limited to 'www/varnish2')
-rw-r--r-- | www/varnish2/files/varnishd.in | 8 |
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" |