commit ea05e75e0a75d3305b6857f7b3b3c29a372502fe
Author: Elan Ruusamäe <[email protected]>
Date:   Mon Aug 1 15:01:50 2016 +0300

    lighttpd: use default server.pem

 hook.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/hook.sh b/hook.sh
index 232674d..1d6e6e0 100755
--- a/hook.sh
+++ b/hook.sh
@@ -8,9 +8,9 @@ deploy_cert)
        FULLCHAINCERT="$5"
        CHAINCERT="$6"
        TIMESTAMP="$7"
-       if [ -x /usr/sbin/lighttpd -a -f /etc/lighttpd/ligcert.pem ]; then
-               echo " + Hook: Overwritting /etc/lighttpd/ligcert.pem and 
reloading lighttpd..."
-               cat 
"/etc/webapps/letsencrypt.sh/certs/${DOMAIN}/{privkey,fullchain}.pem" > 
/etc/lighttpd/ligcert.pem
+       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
                /sbin/service lighttpd reload
        fi
        if [ -f /etc/nginx/server.pem -a -f /etc/nginx/server.key ]; then
@@ -22,7 +22,7 @@ deploy_cert)
                /sbin/service "$nginx" reload
        fi
        if [ -x /etc/rc.d/init.d/httpd ]; then
-               echo " + Hook: Reloading apache..."
+               echo " + Hook: Reloading Apache..."
                /sbin/service httpd graceful
        fi
        ;;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/letsencrypt.sh.git/commitdiff/ea05e75e0a75d3305b6857f7b3b3c29a372502fe

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to