Refactored independent_

This commit is contained in:
2023-09-02 09:45:26 +02:00
parent 89b4a9bda1
commit c11333be9a
36 changed files with 21 additions and 21 deletions

View File

@@ -0,0 +1,11 @@
[Unit]
Description=Backup to USB when mounted to {{ backup_to_usb_mount }}
Wants={{systemctl_mount_service_name}}
OnFailure=systemd-notifier@%n.service
[Service]
ExecStart=/bin/python {{ backup_to_usb_script_path }} {{backup_to_usb_source}} {{backup_to_usb_destination}}
ExecStartPost=/bin/systemctl start backups-cleanup.service
[Install]
WantedBy=multi-user.target