From 88025012761f25441aa8eabcf89f3040de6ce93c Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 26 Nov 2022 00:35:16 -0300 Subject: src/infrastructure/guix/system.scm: Add named config-file on dovecot reload --- src/infrastructure/guix/system.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/infrastructure/guix/system.scm b/src/infrastructure/guix/system.scm index 5413f0e..b32b36f 100644 --- a/src/infrastructure/guix/system.scm +++ b/src/infrastructure/guix/system.scm @@ -1427,14 +1427,17 @@ (define (dovecot2-certificates config) (match-record config - (hostname) + (config-name hostname) (list (certificate-configuration (domains (list hostname)) (deploy-hook (program-file "dovecot2-certbot-deploy-hook" - #~(invoke #$(file-append dovecot "/bin/doveadm") "reload"))))))) + #~(invoke #$(file-append dovecot "/bin/doveadm") + "-c" + (string-append "/etc/dovecot2/" #$config-name) + "reload"))))))) (define dovecot2-service-type (service-type -- cgit v1.2.3