mkbackup-btrfs/files/lib/systemd/system/timer-aptupgrade.timer
2019-03-05 13:20:31 +01:00

15 lines
323 B
SYSTEMD

[Unit]
Description=Runs backup %I before system-update/upgrade with apt
#BindsTo=mkbackup@BKP.target
PartOf=mkbackup@SNP.target
OnFailure=status-email-root@%n.service
BindsTo=timer-xe.target
[Timer]
OnActiveSec=1s
AccuracySec=2s
Unit=timer-aptupgrade.target
RemainAfterElapse=false
[Install]
WantedBy=mkbackup@SNP.target