diff options
Diffstat (limited to 'theos')
-rw-r--r-- | theos/certs/theos_kyriasis_com.sls | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/theos/certs/theos_kyriasis_com.sls b/theos/certs/theos_kyriasis_com.sls index 127caeb..a822ce0 100644 --- a/theos/certs/theos_kyriasis_com.sls +++ b/theos/certs/theos_kyriasis_com.sls @@ -13,15 +13,21 @@ theos.kyriasis.com: - require_in: - service: nginx_service -smtpd-access-theos: - acl.present: - - name: /etc/letsencrypt/archive/theos.kyriasis.com/ - - acl_type: user - - acl_name: smtpd - - perms: r-x - - recurse: True - - require_in: - - acme: theos.kyriasis.com + +/etc/smtpd/certs/fullchain.pem: + file.managed: + - source: /etc/letsencrypt/live/matrix.kyriasis.com/fullchain.pem + - user: smtpd + - group: smtpd + - mode: 600 + +/etc/smtpd/certs/privkey.pem: + file.managed: + - source: /etc/letsencrypt/live/matrix.kyriasis.com/privkey.pem + - user: smtpd + - group: smtpd + - mode: 600 + ldap-access-theos: acl.present: |