diff options
author | David Runge <dave@sleepmap.de> | 2015-03-20 01:35:16 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-03-20 01:35:16 +0100 |
commit | dc004352c28745e2156a4ef1d6582bfed2b05a82 (patch) | |
tree | 779ebdde959293e88969dc294a7b76531dd944c5 /system/cleanup-backup.service | |
parent | fd3b4a68b7ba29e77a3147f8e5fced19eeb294d4 (diff) | |
download | crypted-backups-dc004352c28745e2156a4ef1d6582bfed2b05a82.tar.gz crypted-backups-dc004352c28745e2156a4ef1d6582bfed2b05a82.tar.bz2 crypted-backups-dc004352c28745e2156a4ef1d6582bfed2b05a82.tar.xz crypted-backups-dc004352c28745e2156a4ef1d6582bfed2b05a82.zip |
cleanup-backup: Adding first version of cleanup-backup script, service and timer.
Diffstat (limited to 'system/cleanup-backup.service')
-rw-r--r-- | system/cleanup-backup.service | 11 |
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 + |