mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-10-21 21:31:51 +00:00
This commit is contained in:
1 parent
f4dc9fd9d1
commit
0a6abaf8a1
1 file changed
+7
-1
@@ -6381,7 +6381,13 @@ deploy() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
_debug2 DOMAIN_CONF "$DOMAIN_CONF"
|
_debug2 DOMAIN_CONF "$DOMAIN_CONF"
|
||||||
. "$DOMAIN_CONF"
|
# The cert dir may exist without a domain conf (e.g. the conf was deleted, or
|
||||||
|
# the cert was placed here manually). Deploy can still proceed using env-provided
|
||||||
|
# settings, and _savedomainconf below will recreate the conf, so only source it
|
||||||
|
# when present instead of failing on a missing file.
|
||||||
|
if [ -f "$DOMAIN_CONF" ]; then
|
||||||
|
. "$DOMAIN_CONF"
|
||||||
|
fi
|
||||||
|
|
||||||
_savedomainconf Le_DeployHook "$_hooks"
|
_savedomainconf Le_DeployHook "$_hooks"
|
||||||
|
|
||||||
|
|||||||