From 34acc278eda23593ae53868586e9024e965f37e0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 28 Sep 2010 22:08:17 +0200 Subject: [PATCH] units: schedule tmpwatch on idle class --- fixme | 4 ++-- units/tmpwatch.service | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fixme b/fixme index 1782a042..6b1e8640 100644 --- a/fixme +++ b/fixme @@ -9,8 +9,6 @@ v11: * emergency.service should start default.target after C-d. synchronize from fedora's initscripts package -* tmpwatch: lower ioprio - * drop empty assignments for parse_env_file * stability promise must say that #ifdef TARGET_XXX style distro compatibility will go away one day @@ -107,6 +105,8 @@ later: * document locale.conf, vconsole.conf and possibly the tempfiles.d and modules-load.d mechanism. +* when /proc/self/mountinfo is not parsable, proceed with next line + External: * place /etc/inittab with explaining blurb. diff --git a/units/tmpwatch.service b/units/tmpwatch.service index 8471ba15..5cc0b6bb 100644 --- a/units/tmpwatch.service +++ b/units/tmpwatch.service @@ -16,3 +16,4 @@ Before=poweroff.service reboot.service halt.service killall.service Type=oneshot ExecStart=/usr/sbin/tmpwatch -umc -x /tmp/.X11-unix -x /tmp/.ICE-unix 10d /tmp ExecStart=/usr/sbin/tmpwatch -umc 30d /var/tmp +IOSchedulingClass=idle -- 2.39.5