alter service units
This commit is contained in:
parent
f1291caa14
commit
0957545045
1 changed files with 29 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue