summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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