65878a
From 295730ffeef69a057773ba201cb1ad9e81c187fa Mon Sep 17 00:00:00 2001
65878a
From: Lennart Poettering <lennart@poettering.net>
65878a
Date: Wed, 11 Dec 2013 23:31:34 +0100
65878a
Subject: [PATCH] units: don't run readahead done timers in containers
65878a
65878a
We don't run the collector in the container either, hence we don't need
65878a
to stop it either.
65878a
---
65878a
 units/systemd-readahead-done.service.in | 1 +
65878a
 units/systemd-readahead-done.timer      | 1 +
65878a
 2 files changed, 2 insertions(+)
65878a
65878a
diff --git a/units/systemd-readahead-done.service.in b/units/systemd-readahead-done.service.in
65878a
index c3b2ac5..e0d9579 100644
65878a
--- a/units/systemd-readahead-done.service.in
65878a
+++ b/units/systemd-readahead-done.service.in
65878a
@@ -12,6 +12,7 @@ DefaultDependencies=no
65878a
 Conflicts=shutdown.target
65878a
 After=default.target
65878a
 Before=shutdown.target
65878a
+ConditionVirtualization=no
65878a
 
65878a
 [Service]
65878a
 Type=oneshot
65878a
diff --git a/units/systemd-readahead-done.timer b/units/systemd-readahead-done.timer
65878a
index 41bfb2b..a9f6278 100644
65878a
--- a/units/systemd-readahead-done.timer
65878a
+++ b/units/systemd-readahead-done.timer
65878a
@@ -12,6 +12,7 @@ DefaultDependencies=no
65878a
 Conflicts=shutdown.target
65878a
 After=default.target
65878a
 Before=shutdown.target
65878a
+ConditionVirtualization=no
65878a
 
65878a
 [Timer]
65878a
 OnActiveSec=30s