]> git.pld-linux.org Git - packages/dehydrated.git/commitdiff
lighttpd: use default server.pem
authorElan Ruusamäe <glen@delfi.ee>
Mon, 1 Aug 2016 12:01:50 +0000 (15:01 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 1 Aug 2016 12:01:50 +0000 (15:01 +0300)
hook.sh

diff --git a/hook.sh b/hook.sh
index 232674d9b4ba1a79f943d2904bb956f7943a6c29..1d6e6e0abeba11ee6ac1f0c4eecf442b79ad61b1 100755 (executable)
--- 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
        ;;
This page took 0.628449 seconds and 4 git commands to generate.