Implemented heal-docker.cymais.service start instantly after docker-to-local routine

This commit is contained in:
2024-01-23 09:58:47 +01:00
parent 0647cad072
commit a1ce214d03
5 changed files with 12 additions and 4 deletions

View File

@@ -4,6 +4,7 @@ Wants={{systemctl_mount_service_name}}
OnFailure=systemd-notifier.cymais@%n.service
[Service]
Type=oneshot
ExecStart=/bin/python {{ backup_to_usb_script_path }} {{backup_to_usb_source}} {{backup_to_usb_destination}}
ExecStartPost=/bin/systemctl start cleanup-backups.cymais.service