-
Notifications
You must be signed in to change notification settings - Fork 6
Patch #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Patch #8
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the same name for both parameter and variable, to make it less confusuing/ambiguous for users.
Also, could you please make the dnssleep
parameter optional? Using the DNS challenge alias as an example, it should look something like this:
if bashio::config.has_value 'dnssleep'; then
DNS_SLEEP=$(bashio::config 'dnssleep')
DNS_SLEEP_PARAM=$(printf " --dnssleep %s" "$DNS_SLEEP")
fi
Then you'd add ${DNS_SLEEP_PARAM}
to the acme.sh
command in the script.
Otherwise, thanks for contributing!
@@ -35,6 +36,7 @@ schema: | |||
- str | |||
dnsprovider: str | |||
dnschallengealias: str? | |||
dnswaittime: int |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dnswaittime: int | |
dnssleep: int |
@@ -22,6 +22,7 @@ options: | |||
domains: null | |||
dnsprovider: null | |||
dnschallengealias: "" | |||
dnswaittime: 30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dnswaittime: 30 | |
dnssleep: 30 |
Added a DNS-Sleep option