1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

added borg service

This commit is contained in:
Ryan 2017-06-20 20:03:40 +02:00
parent 221170d0dc
commit 92fade53f0
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,8 @@
[Unit]
Description=Borg Backup
[Service]
ExecStart=/home/alrayyes/bin/backup.sh
[Install]
WantedBy=default.target

View File

@ -0,0 +1,9 @@
[Unit]
Description=Run borg daily
[Timer]
OnBootSec=300m
OnUnitActiveSec=1d
[Install]
WantedBy=timers.target