Changed wait default to 25 mins.
This commit is contained in:
parent
2f5be01ec9
commit
03f68df7ec
4 changed files with 3 additions and 4 deletions
2
.idea/namesilo-letsencrypt.iml
generated
2
.idea/namesilo-letsencrypt.iml
generated
|
@ -7,7 +7,7 @@
|
||||||
<content url="file://$MODULE_DIR$">
|
<content url="file://$MODULE_DIR$">
|
||||||
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
||||||
</content>
|
</content>
|
||||||
<orderEntry type="jdk" jdkName="Python 3.8" jdkType="Python SDK" />
|
<orderEntry type="inheritedJdk" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
|
@ -43,4 +43,4 @@ certbot certonly --manual --email you@example.com \
|
||||||
-d *.example.com -d example.com
|
-d *.example.com -d example.com
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
Please note that NameSilo DNS propagation takes up to **15 minutes**. The scripts will wait **20 minutes** before completing, just to be safe.
|
Please note that NameSilo DNS propagation takes up to **15 minutes**. The scripts will wait **25 minutes** before completing, just to be safe.
|
||||||
|
|
|
@ -46,7 +46,6 @@ from config import apikey, wait
|
||||||
def sleep(minutes):
|
def sleep(minutes):
|
||||||
if minutes < 16:
|
if minutes < 16:
|
||||||
minutes = 16
|
minutes = 16
|
||||||
print("Waiting", minutes, "minutes for DNS changes to complete...")
|
|
||||||
time.sleep(minutes * 60)
|
time.sleep(minutes * 60)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Get your API Key from: https://www.namesilo.com/account_api.php
|
# Get your API Key from: https://www.namesilo.com/account_api.php
|
||||||
apikey = "YOUR_API_KEY"
|
apikey = "YOUR_API_KEY"
|
||||||
# Minutes to wait for DNS changes to complete.
|
# Minutes to wait for DNS changes to complete.
|
||||||
wait = 20
|
wait = 25
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue