This commit is contained in:
Zsolt Ero
2025-09-18 19:35:56 +02:00
parent 604f27e7db
commit b24f096ad4
13 changed files with 93 additions and 221 deletions

View File

@@ -320,15 +320,3 @@ def create_latest_locations(*, local: str, domain: str) -> str:
"""
return location_str
def write_roundrobin_reader_script(domain_roundrobin):
script = f"""
#!/usr/bin/env bash
export RCLONE_CONFIG=/data/ofm/config/rclone.conf
rclone copyto -v "remote:ofm-private/roundrobin/{domain_roundrobin}/ofm_roundrobin.cert" /data/nginx/certs/ofm_roundrobin.cert
rclone copyto -v "remote:ofm-private/roundrobin/{domain_roundrobin}/ofm_roundrobin.key" /data/nginx/certs/ofm_roundrobin.key
""".strip()
with open(config.http_host_bin / 'roundrobin_reader.sh', 'w') as fp:
fp.write(script)

View File

@@ -1 +0,0 @@
../../tile_gen/tile_gen_lib/shared.py