diff options
author | Justin Gassner <justin.gassner@mailbox.org> | 2024-04-07 14:49:01 +0200 |
---|---|---|
committer | Justin Gassner <justin.gassner@mailbox.org> | 2024-04-07 14:49:01 +0200 |
commit | 199e9940f0c84ccd6aa68b183ee94abf0951d2b6 (patch) | |
tree | 1458fa1172ae92cab2282a564433b1d6efec845c | |
parent | e0fb7a16adc48c6ef329d7ef2719e3d8f6c90d2a (diff) | |
download | arch-config-199e9940f0c84ccd6aa68b183ee94abf0951d2b6.tar.zst |
Add Let's Encrypt renewal hooks
-rwxr-xr-x | etc/letsencrypt/renewal-hooks/deploy/combine | 1 | ||||
-rwxr-xr-x | etc/letsencrypt/renewal-hooks/post/start-lighttpd | 1 | ||||
-rwxr-xr-x | etc/letsencrypt/renewal-hooks/pre/stop-lighttpd | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/etc/letsencrypt/renewal-hooks/deploy/combine b/etc/letsencrypt/renewal-hooks/deploy/combine new file mode 100755 index 0000000..cfac599 --- /dev/null +++ b/etc/letsencrypt/renewal-hooks/deploy/combine @@ -0,0 +1 @@ +cat /etc/letsencrypt/live/*/{privkey.pem,fullchain.pem} > /etc/letsencrypt/live/*/combined.pem diff --git a/etc/letsencrypt/renewal-hooks/post/start-lighttpd b/etc/letsencrypt/renewal-hooks/post/start-lighttpd new file mode 100755 index 0000000..38fc08a --- /dev/null +++ b/etc/letsencrypt/renewal-hooks/post/start-lighttpd @@ -0,0 +1 @@ +systemctl start lighttpd.service diff --git a/etc/letsencrypt/renewal-hooks/pre/stop-lighttpd b/etc/letsencrypt/renewal-hooks/pre/stop-lighttpd new file mode 100755 index 0000000..b8672d7 --- /dev/null +++ b/etc/letsencrypt/renewal-hooks/pre/stop-lighttpd @@ -0,0 +1 @@ +systemctl stop lighttpd.service |