File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 4343. /usr/lib/acme/functions.sh
4444. /usr/lib/acme/client/dnsapi_helper.sh
4545ACCOUNT_CONF_PATH=$UACME_CONFDIR /accounts.conf
46- DOMAIN_CONF=$UACME_CONFDIR /$IDENT .conf
46+ DOMAIN_CONF=$UACME_CONFDIR /$IDENT /dnsapi .conf
4747ACMESH_DNSSCIRPT_DIR=${ACMESH_DNSSCIRPT_DIR:-/ usr/ lib/ acme/ client/ dnsapi}
4848
4949# import dns hook script
50+ dns=${dns:- $(head -n 1 $DOMAIN_CONF .apiselect)} # use different file to not hurt acme.sh config file struct
5051if [ ! -f " $ACMESH_DNSSCIRPT_DIR /$dns .sh" ]; then
51- echo " dns file $dns doesn't exit" > tee /tmp/dnshooklog
52+ echo " dns file $dns doesn't exit" 1>&2
5253 exit 1
5354fi
5455. /usr/lib/acme/client/dnsapi/$dns .sh
56+ echo $dns > " $DOMAIN_CONF .apiselect"
5557case " $METHOD " in
5658 " begin" )
5759 (umask 077 ; touch -a " $DOMAIN_CONF " )
You can’t perform that action at this time.
0 commit comments