Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
5efbaa48
Commit
5efbaa48
authored
Dec 06, 2016
by
neilpang
Browse files
minor, clear default confs
parent
b28a3db3
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
5efbaa48
...
@@ -3569,23 +3569,16 @@ _initconf() {
...
@@ -3569,23 +3569,16 @@ _initconf() {
if
[
!
-f
"
$ACCOUNT_CONF_PATH
"
]
;
then
if
[
!
-f
"
$ACCOUNT_CONF_PATH
"
]
;
then
echo
"#ACCOUNT_CONF_PATH=xxxx
echo
"#ACCOUNT_CONF_PATH=xxxx
#Account configurations:
#Here are the supported macros, uncomment them to make them take effect.
#ACCOUNT_EMAIL=aaa@example.com # the account email used to register account.
#ACCOUNT_EMAIL=aaa@example.com # the account email used to register account.
#ACCOUNT_KEY_PATH=
\"
/path/to/account.key
\"
#ACCOUNT_KEY_PATH=
\"
/path/to/account.key
\"
#CERT_HOME=
\"
/path/to/cert/home
\"
#CERT_HOME=
\"
/path/to/cert/home
\"
#LOG_FILE=
\"
$DEFAULT_LOG_FILE
\"
#LOG_FILE=
\"
$DEFAULT_LOG_FILE
\"
#LOG_LEVEL=1
#LOG_LEVEL=1
#AUTO_UPGRADE=
\"
1
\"
#AUTO_UPGRADE=
\"
1
\"
#STAGE=1 # Use the staging api
#FORCE=1 # Force to issue cert
#DEBUG=1 # Debug mode
#NO_TIMESTAMP=1
#NO_TIMESTAMP=1
#OPENSSL_BIN=openssl
#OPENSSL_BIN=openssl
...
@@ -3593,49 +3586,6 @@ _initconf() {
...
@@ -3593,49 +3586,6 @@ _initconf() {
#USER_PATH=
#USER_PATH=
#dns api
#######################
#Cloudflare:
#api key
#CF_Key=
\"
sdfsdfsdfljlbjkljlkjsdfoiwje
\"
#account email
#CF_Email=
\"
xxxx@sss.com
\"
#######################
#Dnspod.cn:
#api key id
#DP_Id=
\"
1234
\"
#api key
#DP_Key=
\"
sADDsdasdgdsf
\"
#######################
#Cloudxns.com:
#CX_Key=
\"
1234
\"
#
#CX_Secret=
\"
sADDsdasdgdsf
\"
#######################
#Godaddy.com:
#GD_Key=
\"
sdfdsgdgdfdasfds
\"
#
#GD_Secret=
\"
sADDsdasdfsdfdssdgdsf
\"
#######################
#nsupdate:
#NSUPDATE_KEY=
\"
/path/to/update.key
\"
#NSUPDATE_SERVER=
\"
192.168.0.1
\"
#######################
#PowerDNS:
#PDNS_Url=
\"
http://ns.example.com:8081
\"
#PDNS_ServerId=
\"
localhost
\"
#PDNS_Token=
\"
0123456789ABCDEF
\"
#PDNS_Ttl=60
#######################
#Amazon Route53:
#AWS_ACCESS_KEY_ID=XXXXXXXXXX
#AWS_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXX
"
>
"
$ACCOUNT_CONF_PATH
"
"
>
"
$ACCOUNT_CONF_PATH
"
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment