aboutsummaryrefslogtreecommitdiffstats
path: root/system/cleanup-backup.service
diff options
context:
space:
mode:
Diffstat (limited to 'system/cleanup-backup.service')
-rw-r--r--system/cleanup-backup.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/cleanup-backup.service b/system/cleanup-backup.service
new file mode 100644
index 0000000..3524b30
--- /dev/null
+++ b/system/cleanup-backup.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Cleanup backups
+ConditionFileIsExecutable=/usr/lib/systemd/scripts/cleanup-backup
+
+[Service]
+EnvironmentFile=/etc/backup-settings
+Nice=19
+IOSchedulingClass=2
+IOSchedulingPriority=7
+ExecStart=/usr/lib/systemd/scripts/cleanup-backup
+