rclone: Use absolute path for ssh key

Looks like cron doesn't provide HOME directory path correctly
This commit is contained in:
Timo Makinen 2021-09-21 16:40:35 +00:00
parent 8bfeef5bae
commit a23f9bdca2

View file

@ -5,6 +5,6 @@
type = sftp
host = {{ host }}
user = {{ remote_user }}
key_file = {{ private_key | default('~/.ssh/id_ed25519') }}
key_file = {{ private_key | default('/root/.ssh/id_ed25519') }}
known_hosts_file = /etc/ssh/ssh_known_hosts
{% endfor %}