We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf54da8 commit 404995eCopy full SHA for 404995e
copy/var/zoneinit/includes/41-ssl.sh
@@ -6,6 +6,7 @@ ssl() {
6
local ssl_home=${1}
7
local mdata_var=${2}
8
local filename=${3}
9
+ local service=${4-${filename}}
10
11
mkdir -p "${ssl_home}"
12
@@ -33,6 +34,7 @@ ssl() {
33
34
grep -q '^#!/usr/bin/env bash' || echo '#!/usr/bin/env bash' > ${le_home}renew-hook.sh
35
echo "cat ${le_live}fullchain.pem > ${ssl_home}/${filename}.crt" >> ${le_home}renew-hook.sh
36
echo "cat ${le_live}privkey.pem > ${ssl_home}/${filename}.key" >> ${le_home}renew-hook.sh
37
+ echo "svcadm restart ${service}" >> ${le_home}renew-hook.sh
38
else
39
# Fallback to selfsigned ssl certificates
40
/opt/core/bin/ssl-selfsigned.sh -d ${ssl_home} -f ${filename}
0 commit comments