Create le-cloudxns.sh
This commit is contained in:
parent
98a24714b8
commit
d50c7f29a0
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ ! -f "$CONFIG" ];then
|
||||||
|
echo "ERROR, CONFIG NOT EXIST."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
. $CONFIG
|
||||||
|
|
||||||
|
echo $DOMAINS > domains.txt
|
||||||
|
|
||||||
|
./letsencrypt.sh -c -k ./cloudxns-hook.sh -t dns-01
|
Loading…
Reference in New Issue