Fix(Choux): borg backup from cron to systemd timer

This commit is contained in:
2018-10-08 10:28:02 +02:00
parent 443db2c375
commit 47ef169667
5 changed files with 39 additions and 5 deletions

10
files/choux_borg.service Normal file
View File

@@ -0,0 +1,10 @@
[Unit]
Description=Borg Backup
[Service]
Type=simple
Nice=19
IOSchedulingClass=2
IOSchedulingPriority=7
ExecStartPre=/usr/bin/borg break-lock {{ borg_backup_repo }}
ExecStart={{ borg_script_path }}