]> git.pld-linux.org Git - packages/dehydrated.git/commitdiff
lighttpd: keep privkey as last
authorElan Ruusamäe <glen@delfi.ee>
Mon, 1 Aug 2016 12:03:46 +0000 (15:03 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 1 Aug 2016 12:03:46 +0000 (15:03 +0300)
hook.sh

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