Fix(Choux): borg backup from cron to systemd timer
This commit is contained in:
10
files/choux_borg.service
Normal file
10
files/choux_borg.service
Normal 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 }}
|
||||
Reference in New Issue
Block a user