mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
Alex Palaistras
f613ce2496
This commit fixes issues with remote path conflicts in default configuration, and makes the encrypted transport the default.
16 lines
457 B
Desktop File
16 lines
457 B
Desktop File
[Unit]
|
|
Description=Rclone Sync for /%I
|
|
Wants=container-build@rclone.service
|
|
After=container-build@rclone.service
|
|
ConditionDirectoryNotEmpty=/%I
|
|
|
|
[Service]
|
|
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 crypt:%i
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|