rclone: Correct ordering for volume backup

This commit is contained in:
Alex Palaistras 2022-02-07 12:19:55 +00:00
parent f613ce2496
commit 03b5f7ee24
2 changed files with 1 additions and 2 deletions

View File

@ -1,3 +1,3 @@
[Unit]
Wants=rclone-sync@var-lib-backups-coreos\x2dhome\x2dserver-%i.service
After=rclone-sync@var-lib-backups-coreos\x2dhome\x2dserver-%i.service
Before=rclone-sync@var-lib-backups-coreos\x2dhome\x2dserver-%i.service

View File

@ -7,7 +7,6 @@ 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