From dc004352c28745e2156a4ef1d6582bfed2b05a82 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 20 Mar 2015 01:35:16 +0100 Subject: cleanup-backup: Adding first version of cleanup-backup script, service and timer. --- system/cleanup-backup.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 system/cleanup-backup.service (limited to 'system/cleanup-backup.service') 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 + -- cgit v1.2.3-70-g09d2