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

17 lines
333 B
SYSTEMD
Raw Normal View History

2019-03-05 13:20:31 +01:00
[Unit]
Description=Runs backup %I after pluggin in external HD
BindsTo=mkbackup@BKP.target
#PartOf=mkbackup@BKP.target
OnFailure=status-email-root@%n.service
RefuseManualStart=yes
RefuseManualStop=yes
[Timer]
OnActiveSec=30s
AccuracySec=10min
Unit=timer-plugin.target
RemainAfterElapse=false
[Install]
WantedBy=mkbackup@BKP.target