chown tls_certs

This commit is contained in:
2026-07-07 10:27:10 +01:00
parent 5e640711ce
commit 5d849384bc
+2 -1
View File
@@ -32,7 +32,8 @@ define obtain_or_renew_cert_cmd =
sudo certbot certonly \
--nginx \
--cert-name $(subdomain).joeac.net \
--domain $(subst @.,,$(subdomain).)joeac.net
--domain $(subst @.,,$(subdomain).)joeac.net \
&& sudo chown -R joeac.net:joeac.net $(dir $(tls_cert))
endef
is_cert_expired = $(shell sudo certbot certificates --cert-name $(subdomain).joeac.net \