Skip to content

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Patch #8

wants to merge 4 commits into from

Conversation

highTowerSU
Copy link

Added a DNS-Sleep option

Copy link
Owner

@Djelibeybi Djelibeybi left a 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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
dnswaittime: int
dnssleep: int

@@ -22,6 +22,7 @@ options:
domains: null
dnsprovider: null
dnschallengealias: ""
dnswaittime: 30
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
dnswaittime: 30
dnssleep: 30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants