[packages/letsencrypt.sh] lighttpd: keep privkey as last
glen
glen at pld-linux.org
Mon Aug 1 14:03:51 CEST 2016
commit 18fe4b7e2ca3129ab13a7e68e6773b7b46990583
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Aug 1 15:03:46 2016 +0300
lighttpd: keep privkey as last
hook.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/hook.sh b/hook.sh
index 1d6e6e0..c54d088 100755
--- a/hook.sh
+++ b/hook.sh
@@ -10,7 +10,7 @@ deploy_cert)
TIMESTAMP="$7"
if [ -x /usr/sbin/lighttpd -a -f /etc/lighttpd/server.pem ]; then
echo " + Hook: Overwritting /etc/lighttpd/server.pem and reloading lighttpd..."
- cat "/etc/webapps/letsencrypt.sh/certs/${DOMAIN}/{privkey,fullchain}.pem" > /etc/lighttpd/server.pem
+ cat "/etc/webapps/letsencrypt.sh/certs/${DOMAIN}/{fullchain,privkey}.pem" > /etc/lighttpd/server.pem
/sbin/service lighttpd reload
fi
if [ -f /etc/nginx/server.pem -a -f /etc/nginx/server.key ]; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/letsencrypt.sh.git/commitdiff/18fe4b7e2ca3129ab13a7e68e6773b7b46990583
More information about the pld-cvs-commit
mailing list