mkbackup-btrfs/files/lib/systemd/system/timer-aptupgrade.timer

16 lines
323 B
SYSTEMD
Raw Normal View History

2019-03-05 13:20:31 +01:00
[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