mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
rclone write
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#env > /data/ofm/ledns/env.txt
|
||||
#RENEWED_DOMAINS=direct.openfreemap.org
|
||||
#RENEWED_LINEAGE=/etc/letsencrypt/live/ofm_ledns
|
||||
|
||||
RENEWED_DOMAINS=direct.openfreemap.org
|
||||
RENEWED_LINEAGE=/etc/letsencrypt/live/ofm_ledns
|
||||
export RCLONE_CONFIG=/data/ofm/config/rclone.conf
|
||||
|
||||
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"
|
||||
rclone copyto -v --copy-links "$RENEWED_LINEAGE/fullchain.pem" "remote:ofm-private/ledns/$RENEWED_DOMAINS/ofm_ledns.cert"
|
||||
rclone copyto -v --copy-links "$RENEWED_LINEAGE/privkey.pem" "remote:ofm-private/ledns/$RENEWED_DOMAINS/ofm_ledns.key"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user