bundles/dovecot: add full text indexing

This commit is contained in:
Franzi 2024-04-14 12:05:58 +02:00
parent a155fe22cb
commit 7491ec840c
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 47 additions and 6 deletions

View file

@ -3,6 +3,7 @@ from bundlewrap.metadata import atomic
defaults = {
'apt': {
'packages': {
'dovecot-fts-xapian': {},
'dovecot-imapd': {},
'dovecot-lmtpd': {},
'dovecot-managesieved': {},
@ -35,6 +36,16 @@ defaults = {
'dovecot',
},
},
'systemd-timers': {
'timers': {
'dovecot_fts_optimize': {
'command': [
'/usr/bin/doveadm fts optimize -A',
],
'when': '02:{}:00'.format(node.magic_number % 60),
},
},
},
}
if node.has_bundle('postfixadmin'):