shorten timeout on loopia dns acme-challange
This commit is contained in:
parent
107dd3f5ef
commit
ad247f6922
@ -27,7 +27,9 @@ def main():
|
|||||||
domain = os.environ['CERTBOT_DOMAIN']
|
domain = os.environ['CERTBOT_DOMAIN']
|
||||||
subdomain = '_acme-challenge'
|
subdomain = '_acme-challenge'
|
||||||
token = os.environ['CERTBOT_VALIDATION']
|
token = os.environ['CERTBOT_VALIDATION']
|
||||||
waittime = 600
|
# According to inside sources: "If it takes longer than 2 minutes,
|
||||||
|
# something is probably wrong". Adding an extra minute to be sure.
|
||||||
|
waittime = 180
|
||||||
else:
|
else:
|
||||||
parser = argparse.ArgumentParser(description='Update acme-record for subdomain')
|
parser = argparse.ArgumentParser(description='Update acme-record for subdomain')
|
||||||
parser.add_argument('--domain', '-d', nargs=1, required=True, help='domain to update')
|
parser.add_argument('--domain', '-d', nargs=1, required=True, help='domain to update')
|
||||||
|
Loading…
Reference in New Issue
Block a user