ajout option manquante -F pour pas que varnish forke au démarrage
This commit is contained in:
parent
aacc22180e
commit
749fdf1b32
|
@ -32,7 +32,7 @@ Le fichier `/etc/default/varnish` [n'est plus utilisé en Debian 8 avec Systemd]
|
||||||
`/etc/systemd/system/varnish.service` (ne pas oublier de `systemctl daemon-reload` à chaque modification) :
|
`/etc/systemd/system/varnish.service` (ne pas oublier de `systemctl daemon-reload` à chaque modification) :
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
ExecStart=/usr/sbin/varnishd -a 0.0.0.0:80 -T localhost:6082 -f /etc/varnish/default.vcl \
|
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 \
|
-S /etc/varnish/secret -s malloc,2G \
|
||||||
-p thread_pools=<Nombre de cores CPU> -p thread_pool_add_delay=2 -p thread_pool_min=500 -p thread_pool_max=5000
|
-p thread_pools=<Nombre de cores CPU> -p thread_pool_add_delay=2 -p thread_pool_min=500 -p thread_pool_max=5000
|
||||||
ExecReload=/etc/varnish/reload-vcl.sh
|
ExecReload=/etc/varnish/reload-vcl.sh
|
||||||
|
|
Loading…
Reference in a new issue