diff --git a/init-server.py b/init-server.py index 123ab05..2420022 100755 --- a/init-server.py +++ b/init-server.py @@ -104,7 +104,7 @@ def tile_gen(hostname, user, port, cron, noninteractive): @cli.command() @common_options -def roundrobin(hostname, user, port, noninteractive): +def roundrobin_dns_writer(hostname, user, port, noninteractive): if not noninteractive and not click.confirm(f'Run script on {hostname}?'): return diff --git a/modules/roundrobin/rclone_write.sh b/modules/roundrobin/rclone_write.sh index c47d25b..025bbdd 100644 --- a/modules/roundrobin/rclone_write.sh +++ b/modules/roundrobin/rclone_write.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash +# these are not needed as certbot generates these #env > /data/ofm/roundrobin/env.txt #RENEWED_DOMAINS=direct.openfreemap.org #RENEWED_LINEAGE=/etc/letsencrypt/live/ofm_roundrobin diff --git a/ssh_lib/tasks.py b/ssh_lib/tasks.py index 1bc7382..44cdc11 100644 --- a/ssh_lib/tasks.py +++ b/ssh_lib/tasks.py @@ -195,7 +195,6 @@ def setup_roundrobin_writer(c): f'--deploy-hook /data/ofm/roundrobin/rclone_write.sh ' f'-d {domain_roundrobin}', # f'-d {domain2_roundrobin}', - # f'-d {domain2_roundrobin}', )