diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2019-01-12 19:39:30 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2019-01-12 19:39:30 +0100 |
commit | 8dffe8c3d738108cb3e45e0c4168b8a2214d4a38 (patch) | |
tree | 3889b7116933114162abf98c0b99ec431be99b6e | |
parent | 6cd02c7a0b7af5939b9bd19c67fd0a022c34889a (diff) | |
download | file-8dffe8c3d738108cb3e45e0c4168b8a2214d4a38.tar.xz |
Fix smtpd cert
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r-- | theos/certs/theos_kyriasis_com.sls | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/theos/certs/theos_kyriasis_com.sls b/theos/certs/theos_kyriasis_com.sls index 70670f0..fa2b82f 100644 --- a/theos/certs/theos_kyriasis_com.sls +++ b/theos/certs/theos_kyriasis_com.sls @@ -16,14 +16,16 @@ theos.kyriasis.com: /etc/smtpd/certs/fullchain.pem: file.managed: - - source: /etc/letsencrypt/live/matrix.kyriasis.com/fullchain.pem + - source: /etc/letsencrypt/live/theos.kyriasis.com/fullchain.pem - user: root - group: root - mode: 600 + - watch_in: + - service: opensmtpd /etc/smtpd/certs/privkey.pem: file.managed: - - source: /etc/letsencrypt/live/matrix.kyriasis.com/privkey.pem + - source: /etc/letsencrypt/live/theos.kyriasis.com/privkey.pem - user: root - group: root - mode: 600 |