summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2019-01-12 19:39:30 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2019-01-12 19:39:30 +0100
commit8dffe8c3d738108cb3e45e0c4168b8a2214d4a38 (patch)
tree3889b7116933114162abf98c0b99ec431be99b6e
parent6cd02c7a0b7af5939b9bd19c67fd0a022c34889a (diff)
downloadfile-8dffe8c3d738108cb3e45e0c4168b8a2214d4a38.tar.xz
Fix smtpd cert
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--theos/certs/theos_kyriasis_com.sls6
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