summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-28 22:08:17 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-28 22:08:17 +0200
commit34acc278eda23593ae53868586e9024e965f37e0 (patch)
tree9038fcd13e329ea57a34cb7180dc57ca3e377055
parent95e26a692d0af027a5fe83e1743e307c864b4af0 (diff)
units: schedule tmpwatch on idle class
-rw-r--r--fixme4
-rw-r--r--units/tmpwatch.service1
2 files changed, 3 insertions, 2 deletions
diff --git a/fixme b/fixme
index 1782a042a7..6b1e864004 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 8471ba15ad..5cc0b6bb39 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