Skip to content

Commit

Permalink
Remove invalid options for Varnish 4.1 from the default varnishd conf…
Browse files Browse the repository at this point in the history
…iguration

In Varnish 4.1 the -u and -g options have been deprecated and no longer used causing the error after the upgrade.
  • Loading branch information
Hrvoje Knežević committed Nov 10, 2017
1 parent 606810d commit 8faed42
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions provisioning/roles/varnish/templates/varnish-defaults.j2
Expand Up @@ -37,7 +37,6 @@ RELOAD_VCL=1
#DAEMON_OPTS="-a :6081 \
# -T localhost:6082 \
# -b localhost:8080 \
# -u varnish -g varnish \
# -s file,/var/lib/varnish/varnish_storage.bin,1G"


Expand All @@ -50,7 +49,6 @@ RELOAD_VCL=1
#DAEMON_OPTS="-a :6081 \
# -T localhost:6082 \
# -f /etc/varnish/default.vcl \
# -u varnish -g varnish \
# -S /etc/varnish/secret \
# -s file,/var/lib/varnish/varnish_storage.bin,1G"

Expand Down Expand Up @@ -99,7 +97,6 @@ DAEMON_OPTS="-a ${VARNISH_LISTEN_ADDRESS}:${VARNISH_LISTEN_PORT} \
-p thread_pool_min=${VARNISH_MIN_THREADS} \
-p thread_pool_max=${VARNISH_MAX_THREADS} \
-p thread_pool_timeout=${VARNISH_THREAD_TIMEOUT} \
-u varnish -g varnish \
-S ${VARNISH_SECRET_FILE} \
-s ${VARNISH_STORAGE}"
#
Expand Down

0 comments on commit 8faed42

Please sign in to comment.