Create le-cloudxns.sh

This commit is contained in:
tianyu 2016-02-02 12:06:13 +08:00
parent 98a24714b8
commit d50c7f29a0
1 changed files with 12 additions and 0 deletions

12
le-dns/le-cloudxns.sh Normal file
View File

@ -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