Renamed backup roles

This commit is contained in:
2025-07-14 19:04:30 +02:00
parent 4acf2137e8
commit f02ca50f88
42 changed files with 66 additions and 66 deletions

View File

@@ -0,0 +1,12 @@
[Unit]
Description=Backup to USB when mounted to {{ backup_to_usb_mount }}
Wants={{systemctl_mount_service_name}}
OnFailure=sys-alm-compose.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 sys-cln-backups.cymais.service
[Install]
WantedBy=multi-user.target