mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
Run varnishd as www:www
This commit is contained in:
parent
a08d67513c
commit
179d814597
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=221824
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user