From: Lennart Poettering Date: Wed, 11 Dec 2013 22:31:34 +0000 (+0100) Subject: units: don't run readahead done timers in containers X-Git-Tag: v209~1020 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=b3de50cb07bb49c4e24287002eca1e95c490f90d;hp=e9174f29c7e3ee45137537b126458718913a3ec5;ds=sidebyside units: don't run readahead done timers in containers We don't run the collector in the container either, hence we don't need to stop it either. --- diff --git a/units/systemd-readahead-done.service.in b/units/systemd-readahead-done.service.in index c3b2ac506..e0d957944 100644 --- a/units/systemd-readahead-done.service.in +++ b/units/systemd-readahead-done.service.in @@ -12,6 +12,7 @@ DefaultDependencies=no Conflicts=shutdown.target After=default.target Before=shutdown.target +ConditionVirtualization=no [Service] Type=oneshot diff --git a/units/systemd-readahead-done.timer b/units/systemd-readahead-done.timer index bdfd46591..c58e09616 100644 --- a/units/systemd-readahead-done.timer +++ b/units/systemd-readahead-done.timer @@ -12,6 +12,7 @@ DefaultDependencies=no Conflicts=shutdown.target After=default.target Before=shutdown.target +ConditionVirtualization=no [Timer] OnActiveSec=30s