mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
rclone: Correct ordering for volume backup
This commit is contained in:
parent
f613ce2496
commit
03b5f7ee24
@ -1,3 +1,3 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Wants=rclone-sync@var-lib-backups-coreos\x2dhome\x2dserver-%i.service
|
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
|
@ -7,7 +7,6 @@ ConditionDirectoryNotEmpty=/%I
|
|||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
SyslogIdentifier=%N
|
SyslogIdentifier=%N
|
||||||
EnvironmentFile=%E/coreos-home-server/rclone/rclone.env
|
|
||||||
ExecStart=/bin/podman run --rm --env-file %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
|
--volume /%I:/data:z localhost/rclone:latest sync /data crypt:%i
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user