git.lucas.co / cce-system-interface
system settings
git clone https://git.lucas.co/cce-system-interface.git

restic-backup.service (556B)

 1 [Unit]
 2 Description=Nightly restic backup of the home directory
 3 Documentation=file:%h/.local/bin/restic-backup.sh
 4 # No network-online dependency on the user bus; the script fails cleanly and
 5 # the timer's Persistent=true retries after the next boot/resume.
 6 
 7 [Service]
 8 Type=oneshot
 9 ExecStart=%h/.local/bin/restic-backup.sh %h/.config/cce/backup_status.txt
10 # The first snapshot of a ~500G home over the network can run for many hours.
11 TimeoutStartSec=infinity
12 # Stay out of the way of interactive work.
13 Nice=10
14 IOSchedulingClass=idle
15 CPUSchedulingPolicy=idle