As discussed on #mailu-dev

Don't attempt to guess what the user wants
master
Florent Daigniere 3 years ago
parent 7970dd7145
commit 3a56525e21

@ -4,11 +4,7 @@ import os
import time import time
import subprocess import subprocess
hostnames = list(set(os.environ['HOSTNAMES'].split(','))) hostnames = ','.join(set(os.environ['HOSTNAMES'].split(',')))
for hostname in hostnames:
if not hostname.startswith('autoconfig.'):
hostnames.append(f'autoconfig.{hostname}')
hostnames = ','.join(set(hostnames))
command = [ command = [
"certbot", "certbot",

Loading…
Cancel
Save