Varnish : reload or restart if needed
This commit is contained in:
parent
a1898f7705
commit
419416b531
|
@ -14,6 +14,7 @@
|
||||||
- /etc/default/varnish
|
- /etc/default/varnish
|
||||||
- /etc/default/varnishncsa
|
- /etc/default/varnishncsa
|
||||||
- /etc/default/varnishlog
|
- /etc/default/varnishlog
|
||||||
|
notify: reload varnish
|
||||||
tags:
|
tags:
|
||||||
- varnish
|
- varnish
|
||||||
|
|
||||||
|
@ -24,6 +25,7 @@
|
||||||
mode: "0700"
|
mode: "0700"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
notify: reload varnish
|
||||||
tags:
|
tags:
|
||||||
- varnish
|
- varnish
|
||||||
|
|
||||||
|
@ -39,7 +41,9 @@
|
||||||
src: varnish.conf.j2
|
src: varnish.conf.j2
|
||||||
dest: /etc/systemd/system/varnish.service.d/evolinux.conf
|
dest: /etc/systemd/system/varnish.service.d/evolinux.conf
|
||||||
force: yes
|
force: yes
|
||||||
notify: reload systemd
|
notify:
|
||||||
|
- reload systemd
|
||||||
|
- restart varnish
|
||||||
tags:
|
tags:
|
||||||
- varnish
|
- varnish
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue