Implemented cleanup procedure for failed backups

This commit is contained in:
2023-11-04 14:36:55 +01:00
parent 1a02d833a6
commit 64d8098612
12 changed files with 44 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
[Unit]
Description=docker volume backup
OnFailure=systemd-notifier@%n.service
OnFailure=systemd-notifier@%n.service docker-volume-backup-cleanup.service
[Service]
Type=oneshot