summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--theos/certs/matrix_kyriasis_com.sls8
1 files changed, 2 insertions, 6 deletions
diff --git a/theos/certs/matrix_kyriasis_com.sls b/theos/certs/matrix_kyriasis_com.sls
index c1d41f8..8c88ce8 100644
--- a/theos/certs/matrix_kyriasis_com.sls
+++ b/theos/certs/matrix_kyriasis_com.sls
@@ -14,21 +14,17 @@ matrix.kyriasis.com:
- service: nginx_service
/etc/synapse/ssl/fullchain.pem:
- file.copy:
+ file.managed:
- 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:
+ file.managed:
- source: /etc/letsencrypt/live/matrix.kyriasis.com/privkey.pem
- user: synapse
- group: synapse
- mode: 600
- - onchanges:
- - acme: matrix.kyriasis.com
# vim: set ft=yaml et: