From 8dffe8c3d738108cb3e45e0c4168b8a2214d4a38 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 12 Jan 2019 19:39:30 +0100 Subject: Fix smtpd cert MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- theos/certs/theos_kyriasis_com.sls | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'theos') 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 -- cgit v1.2.3-70-g09d2