From d58aa4e9804dea91a4d3d55d40b6e429a87f3e61 Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 25 Mar 2015 22:12:56 +0100 Subject: user/cleanup-backup.{service,timer}: Adding cleanup-backup also for user units. --- user/cleanup-backup.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 user/cleanup-backup.service (limited to 'user/cleanup-backup.service') diff --git a/user/cleanup-backup.service b/user/cleanup-backup.service new file mode 100644 index 0000000..61e8b84 --- /dev/null +++ b/user/cleanup-backup.service @@ -0,0 +1,11 @@ +[Unit] +Description=Cleanup backups +ConditionFileIsExecutable=/usr/lib/systemd/scripts/cleanup-backup + +[Service] +EnvironmentFile=/home/%u/.config/crypted-backups +Nice=19 +IOSchedulingClass=2 +IOSchedulingPriority=7 +ExecStart=/usr/lib/systemd/scripts/cleanup-backup + -- cgit v1.2.3-70-g09d2