diff --git a/HowtoVarnish.md b/HowtoVarnish.md index eea76c26..4c64dab7 100644 --- a/HowtoVarnish.md +++ b/HowtoVarnish.md @@ -39,9 +39,15 @@ Pour modifier la configuration, on copie l'unité Systemd : Puis l'on personnalise la configuration via `/etc/systemd/system/varnish.service` (ne pas oublier de `systemctl daemon-reload` à chaque modification) : ~~~ -ExecStart=/usr/sbin/varnishd -F -a 0.0.0.0:80 -T localhost:6082 -f /etc/varnish/default.vcl \ - -S /etc/varnish/secret -s malloc,2G \ - -p thread_pools= -p thread_pool_add_delay=2 -p thread_pool_min=500 -p thread_pool_max=5000 +ExecStart=/usr/sbin/varnishd \ + -j unix,user=vcache \ + -F \ + -a 0.0.0.0:80 \ + -T localhost:6082 \ + -f /etc/varnish/default.vcl \ + -S /etc/varnish/secret \ + -s malloc,256m + -p thread_pools= -p thread_pool_add_delay=2 -p thread_pool_min=500 -p thread_pool_max=5000 ~~~ Détails de certaines options de [varnishd](http://www.varnish-cache.org/docs/6.5/reference/varnishd.html) :