ledns_writer

This commit is contained in:
Zsolt Ero
2024-03-03 01:31:58 +01:00
parent e079bd1c67
commit 09260b26b6
3 changed files with 34 additions and 19 deletions

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
#env > /data/ofm/ledns/env.txt
RENEWED_DOMAINS=direct.openfreemap.org
RENEWED_LINEAGE=/etc/letsencrypt/live/ofm_ledns
rclone copy -v "$RENEWED_LINEAGE/fullchain.pem" "remote:ofm-secret/ledns/$RENEWED_DOMAINS/ofm_ledns.cert"
rclone copy -v "$RENEWED_LINEAGE/privkey.pem" "remote:ofm-secret/ledns/$RENEWED_DOMAINS/ofm_ledns.key"