add ordering

This commit is contained in:
2020-12-02 11:33:35 +01:00
parent 958439b8b6
commit edb1477b64
2 changed files with 6 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
[Unit] [Unit]
Description=restic backup Description=restic backup
Before=restic-prune.service Before=restic-prune.service
Wants=network-online.target
After=network-online.target
[Service] [Service]
Type=oneshot Type=oneshot

View File

@@ -1,6 +1,8 @@
[Unit] [Unit]
Description=restic prune snapshots Description=restic prune snapshots
After=restic-backup.service After=restic-backup.service
Wants=network-online.target
After=network-online.target
[Service] [Service]
Type=oneshot Type=oneshot