mirror of
https://github.com/xdtianyu/scripts.git
synced 2025-08-11 22:40:59 +08:00
Create le-cloudxns.sh
This commit is contained in:
12
le-dns/le-cloudxns.sh
Normal file
12
le-dns/le-cloudxns.sh
Normal 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
|
Reference in New Issue
Block a user