From cb0ee2ba2387052c672a9d3f3d9804e76f5f4352 Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Wed, 26 Feb 2025 16:58:41 +0100 Subject: [PATCH] renames --- init-server.py | 2 +- modules/roundrobin/rclone_write.sh | 1 + ssh_lib/tasks.py | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) 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}', )