aboutsummaryrefslogtreecommitdiffstats
path: root/arch-system/borg-backup.service
diff options
context:
space:
mode:
Diffstat (limited to 'arch-system/borg-backup.service')
-rw-r--r--arch-system/borg-backup.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch-system/borg-backup.service b/arch-system/borg-backup.service
new file mode 100644
index 0000000..b5a4a52
--- /dev/null
+++ b/arch-system/borg-backup.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Borg backup service for /home (BTRFS)
+Wants=network-online.target
+After=network-online.target
+
+[Service]
+RuntimeMaxSec=1800
+Nice=19
+IOSchedulingClass=3
+IOSchedulingPriority=7
+ExecStart=/usr/bin/borgbackup
+Type=simple
+
+[Install]
+WantedBy=multi-user.target