python3.12 compat

This commit is contained in:
Franzi 2024-04-28 21:40:35 +02:00
parent 65af9ae0c5
commit 9e78b9e07b
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 6 additions and 6 deletions

View file

@ -101,7 +101,7 @@ if 'dkim' in node.metadata.get('rspamd', {}):
actions = {
'rspamd_assure_dkim_key_permissions': {
'command': 'chown _rspamd:_rspamd /var/lib/rspamd/dkim/*.key',
'unless': 'test -z "$(find /var/lib/rspamd/ -iname \"*.key\" \! -user _rspamd)"',
'unless': r'test -z "$(find /var/lib/rspamd/ -iname \"*.key\" \! -user _rspamd)"',
'needs': {
'action:rspamd_generate_dkim_key',
'directory:/var/lib/rspamd/dkim',