commit 30b951d8c1a66a276c609bd1f7ceaff1f6dd6ec2
Author: Elan Ruusamäe <[email protected]>
Date:   Fri Dec 7 12:39:38 2018 +0200

    hook: implement certs copy for apache hook

 hook-dns-01.sh | 4 +++-
 hook.sh        | 5 +++--
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/hook-dns-01.sh b/hook-dns-01.sh
index 69573e6..6945dfd 100755
--- a/hook-dns-01.sh
+++ b/hook-dns-01.sh
@@ -49,7 +49,9 @@ httpd_reload() {
                return
        fi
 
-       echo " + Hook: Reloading Apache..."
+       echo " + Hook: Reloading Apache 2..."
+       atomic_concat /etc/httpd/ssl/server.crt "$FULLCHAINCERT"
+       atomic_concat /etc/httpd/ssl/server.key "$PRIVKEY"
        /sbin/service httpd graceful
 }
 
diff --git a/hook.sh b/hook.sh
index d5387a4..3c4972a 100755
--- a/hook.sh
+++ b/hook.sh
@@ -46,11 +46,12 @@ httpd_reload() {
                return
        fi
 
-       echo " + Hook: Reloading Apache..."
+       echo " + Hook: Reloading Apache 2..."
+       atomic_concat /etc/httpd/ssl/server.crt "$FULLCHAINCERT"
+       atomic_concat /etc/httpd/ssl/server.key "$PRIVKEY"
        /sbin/service httpd graceful
 }
 
-
 case "$1" in
 deploy_cert)
        DOMAIN="$2"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dehydrated.git/commitdiff/30b951d8c1a66a276c609bd1f7ceaff1f6dd6ec2

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

Reply via email to