diff options
Diffstat (limited to 'theos/certs')
-rw-r--r-- | theos/certs/matrix_kyriasis_com.sls | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/theos/certs/matrix_kyriasis_com.sls b/theos/certs/matrix_kyriasis_com.sls index 26981f3..0828d04 100644 --- a/theos/certs/matrix_kyriasis_com.sls +++ b/theos/certs/matrix_kyriasis_com.sls @@ -13,14 +13,22 @@ matrix.kyriasis.com: - require_in: - service: nginx_service -synapse-access-matrix: - acl.present: - - name: /etc/letsencrypt/archive/matrix.kyriasis.com/ - - acl_type: default:user - - acl_name: synapse - - perms: r-x - - recurse: True - - require_in: +/etc/synapse/ssl/fullchain.pem: + file.copy: + - source: /etc/letsencrypt/live/matrix.kyriasis.com/fullchain.pem + - user: synapse + - group: synapse + - mode: 600 + - onchanges: + - acme: matrix.kyriasis.com + +/etc/synapse/ssl/privkey.pem: + file.copy: + - source: /etc/letsencrypt/live/matrix.kyriasis.com/fullchain.pem + - user: synapse + - group: synapse + - mode: 600 + - onchanges: - acme: matrix.kyriasis.com # vim: set ft=yaml et: |