contrib: systemd: added systemd service and timer units (for daily backup)

pull/30/head
Axel Burri 2015-05-20 16:40:34 +02:00
parent 4db0aa0128
commit 09e214acf4
3 changed files with 17 additions and 0 deletions

View File

@ -5,6 +5,7 @@ btrbk-current
compatibility with all linux distros out there, which all install
'btrfs' in different locations (closes: #20).
* Catch and display errors from "btrfs subvolume show".
* Include systemd service and timer unit for daily backups.
btrbk-0.17.1

View File

@ -0,0 +1,6 @@
[Unit]
Description=btrbk backup
[Service]
Type=oneshot
ExecStart=/usr/bin/btrbk run

View File

@ -0,0 +1,10 @@
[Unit]
Description=btrbk daily backup
[Timer]
OnCalendar=daily
AccuracySec=10min
Persistent=true
[Install]
WantedBy=multi-user.target