summaryrefslogtreecommitdiff
path: root/borgBackup.service
diff options
context:
space:
mode:
Diffstat (limited to 'borgBackup.service')
-rw-r--r--[l---------]borgBackup.service13
1 files changed, 12 insertions, 1 deletions
diff --git a/borgBackup.service b/borgBackup.service
index e6ab39a..fa08c6a 120000..100644
--- a/borgBackup.service
+++ b/borgBackup.service
@@ -1 +1,12 @@
-/etc/systemd/system/borgBackup.service \ No newline at end of file
+[Unit]
+Description=Borg daily backup
+
+[Service]
+Type=simple
+Nice=19
+IOSchedulingClass=2
+IOSchedulingPriority=7
+ExecStartPre=-/usr/bin/borg break-lock /mnt/bak/borg
+ExecStart=-/etc/systemd/system/borgAuto.sh
+User=st33v
+Group=st33v