From: Lennart Poettering Date: Tue, 28 Sep 2010 20:08:17 +0000 (+0200) Subject: units: schedule tmpwatch on idle class X-Git-Tag: v11~42 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=34acc278eda23593ae53868586e9024e965f37e0 units: schedule tmpwatch on idle class --- diff --git a/fixme b/fixme index 1782a042a..6b1e86400 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 8471ba15a..5cc0b6bb3 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