rclone: Fix issues, simplify sync configuration
This commit fixes issues with remote path conflicts in default configuration, and makes the encrypted transport the default.
This commit is contained in:
parent
4fc786219a
commit
f613ce2496
Binary file not shown.
|
@ -47,8 +47,8 @@ RSS2EMAIL_FROM=noreply@localhost
|
|||
RSS2EMAIL_TO=root@localhost
|
||||
|
||||
# Configuration for Rclone.
|
||||
RCLONE_DEST=crypt:
|
||||
RCLONE_CRYPT_REMOTE=/data/rclone
|
||||
RCLONE_REMOTE_TYPE=local
|
||||
RCLONE_REMOTE_PATH=/data/rclone
|
||||
RCLONE_CRYPT_PASSWORD=3NYQAySloaAVy4CxtVkAset0mz9KDlhT
|
||||
RCLONE_CRYPT_SALT=jqsQXp_MPwBPIzw69TkmSp7ScuA
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
# Common configuration.
|
||||
RCLONE_DEST=${RCLONE_DEST}
|
||||
RCLONE_LOG_LEVEL=INFO
|
||||
RCLONE_SKIP_LINKS=true
|
||||
|
||||
# Configuration for default encrypted remote. This should be configured to wrap the default
|
||||
# unencrypted remote. Password and salt values must be processed via `rclone obscure` before setting.
|
||||
# Configuration for default encrypted remote, configured to wrap the default unencrypted remote.
|
||||
# Password and salt values must be processed via `rclone obscure` before setting.
|
||||
RCLONE_CONFIG_CRYPT_TYPE=crypt
|
||||
RCLONE_CONFIG_CRYPT_REMOTE=${RCLONE_CRYPT_REMOTE}
|
||||
RCLONE_CONFIG_CRYPT_REMOTE=remote:${RCLONE_REMOTE_PATH}
|
||||
RCLONE_CONFIG_CRYPT_PASSWORD=${RCLONE_CRYPT_PASSWORD}
|
||||
RCLONE_CONFIG_CRYPT_PASSWORD2=${RCLONE_CRYPT_SALT}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ Type=oneshot
|
|||
SyslogIdentifier=%N
|
||||
EnvironmentFile=%E/coreos-home-server/rclone/rclone.env
|
||||
ExecStart=/bin/podman run --rm --env-file %E/coreos-home-server/rclone/rclone.env \
|
||||
--volume /%I:/data:z localhost/rclone:latest sync /data ${RCLONE_DEST}
|
||||
--volume /%I:/data:z localhost/rclone:latest sync /data crypt:%i
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in New Issue