units: don't run readahead done timers in containers
authorLennart Poettering <lennart@poettering.net>
Wed, 11 Dec 2013 22:31:34 +0000 (23:31 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 11 Dec 2013 22:31:34 +0000 (23:31 +0100)
We don't run the collector in the container either, hence we don't need
to stop it either.

units/systemd-readahead-done.service.in
units/systemd-readahead-done.timer

index c3b2ac5..e0d9579 100644 (file)
@@ -12,6 +12,7 @@ DefaultDependencies=no
 Conflicts=shutdown.target
 After=default.target
 Before=shutdown.target
+ConditionVirtualization=no
 
 [Service]
 Type=oneshot
index bdfd465..c58e096 100644 (file)
@@ -12,6 +12,7 @@ DefaultDependencies=no
 Conflicts=shutdown.target
 After=default.target
 Before=shutdown.target
+ConditionVirtualization=no
 
 [Timer]
 OnActiveSec=30s