alter service units

This commit is contained in:
Antonio J. Delgado 2023-01-29 21:02:23 +02:00
parent f1291caa14
commit 0957545045

View file

@ -32,6 +32,34 @@
option: dburi
value: "{{ dbmail_db_driver }}://{{ dbmail_db_user }}:{{ dbmail_db_password }}@{{ dbmail_db_host }}:{{ dbmail_db_port }}/{{ dbmail_db_name }}"
- name: Make services start infinite for IMAP
ini_file:
path: /lib/systemd/system/dbmail-imapd.service
section: Service
option: TimeoutStartSec
value: infinity
- name: Make services start infinite for POP
ini_file:
path: /lib/systemd/system/dbmail-pop3d.service
section: Service
option: TimeoutStartSec
value: infinity
- name: Make services start infinite for LMTP
ini_file:
path: /lib/systemd/system/dbmail-lmtpd.service
section: Service
option: TimeoutStartSec
value: infinity
- name: Make services start infinite for timsieved
ini_file:
path: /lib/systemd/system/dbmail-timsieved.service
section: Service
option: TimeoutStartSec
value: infinity
- name: Ensure service units are enabled and started
systemd:
daemon_reload: true