quelques améliorations
This commit is contained in:
parent
8c89f3ad51
commit
171726ed07
|
@ -29,7 +29,7 @@ Le fichier `/etc/default/varnish` [n'est plus utilisé en Debian 8 avec Systemd]
|
|||
# cp -a /lib/systemd/system/varnish.service /etc/systemd/system
|
||||
~~~
|
||||
|
||||
`/etc/systemd/system/varnish.service` :
|
||||
`/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 \
|
||||
|
@ -38,7 +38,7 @@ ExecStart=/usr/sbin/varnishd -a 0.0.0.0:80 -T localhost:6082 -f /etc/varnish/def
|
|||
ExecReload=/etc/varnish/reload-vcl.sh
|
||||
~~~
|
||||
|
||||
`/etc/varnish/reload-vcl.sh` :
|
||||
`/etc/varnish/reload-vcl.sh` (à mettre en *chmod 700* bien sûr) :
|
||||
|
||||
~~~{.bash}
|
||||
#!/bin/sh
|
||||
|
|
Loading…
Reference in a new issue