From a55fff8951f61a6d9af225535273f784ff502f4a Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 2 Jan 2019 21:00:58 +0100 Subject: taskd: Copy instead of ACL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- theos/certs/taskd_kyriasis_com.sls | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/theos/certs/taskd_kyriasis_com.sls b/theos/certs/taskd_kyriasis_com.sls index 4924a3d..d4aa2b4 100644 --- a/theos/certs/taskd_kyriasis_com.sls +++ b/theos/certs/taskd_kyriasis_com.sls @@ -5,14 +5,18 @@ taskd.kyriasis.com: - keysize: 4096 - renew: 30 -taskd-access-taskd-cert: - acl.present: - - name: /etc/letsencrypt/archive/taskd.kyriasis.com/ - - acl_type: default:user - - acl_name: taskd - - perms: r-x - - recurse: True - - require_in: - - acme: taskd.kyriasis.com +/var/lib/taskd/server.cert.pem: + file.managed: + - source: /etc/letsencrypt/live/matrix.kyriasis.com/fullchain.pem + - user: synapse + - group: synapse + - mode: 600 + +/var/lib/taskd/server.key.pem: + file.managed: + - source: /etc/letsencrypt/live/matrix.kyriasis.com/privkey.pem + - user: synapse + - group: synapse + - mode: 600 # vim: set ft=yaml et: -- cgit v1.2.3-70-g09d2