mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
ledns_writer
This commit is contained in:
10
scripts/ledns/rclone_write.sh
Normal file
10
scripts/ledns/rclone_write.sh
Normal 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"
|
||||
|
||||
Reference in New Issue
Block a user