Fix shutdown bug with keydb
This commit is contained in:
parent
1ce5d033b4
commit
5a3233a905
|
@ -27,6 +27,16 @@
|
||||||
mode: 0640
|
mode: 0640
|
||||||
notify: restart keydb
|
notify: restart keydb
|
||||||
|
|
||||||
|
- name: install keydb unit override file
|
||||||
|
template:
|
||||||
|
src: keydb/override.conf.j2
|
||||||
|
dest: /etc/systemd/system/keydb-server.service.d/override.conf
|
||||||
|
register: systemd
|
||||||
|
|
||||||
|
- name: reload systemd to apply changes
|
||||||
|
command: systemctl daemon-reload
|
||||||
|
when: systemd.changed
|
||||||
|
|
||||||
- name: start but disable services (managed by PVC)
|
- name: start but disable services (managed by PVC)
|
||||||
service:
|
service:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
[Service]
|
||||||
|
TimeoutStopSec=30
|
Loading…
Reference in New Issue