kojipkgs: restart varnish on failure
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
3f253336e0
commit
f9a0479732
1 changed files with 17 additions and 0 deletions
|
@ -37,3 +37,20 @@
|
||||||
copy: content="# welcome.conf disabled" dest=/etc/httpd/conf.d/welcome.conf
|
copy: content="# welcome.conf disabled" dest=/etc/httpd/conf.d/welcome.conf
|
||||||
tags:
|
tags:
|
||||||
- kojipkgs
|
- kojipkgs
|
||||||
|
|
||||||
|
- name: make systemd drop-in override dir
|
||||||
|
file: name=/etc/systemd/system/varnish.service.d
|
||||||
|
state=directory
|
||||||
|
recurse=yes
|
||||||
|
owner=root group=root
|
||||||
|
tags:
|
||||||
|
- kojipkgs
|
||||||
|
|
||||||
|
- name: override varnish service to restart on failure
|
||||||
|
copy: dest=/etc/systemd/system/varnish.service.d/restart-on-fail.conf
|
||||||
|
src=restart-on-fail.conf
|
||||||
|
notify:
|
||||||
|
- reload systemd
|
||||||
|
- reload varnish
|
||||||
|
tags:
|
||||||
|
- kojipkgs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue