chiark / gitweb /
main: try a bit harder to find an init process to execute after reexec/switch-root
[elogind.git] / units / systemd-readahead-replay.service.in
index ad27395d9ab1eabfeee6a1167da2992692395220..6a101678c308fe0c38a2f642ff976393e5299131 100644 (file)
@@ -11,12 +11,14 @@ DefaultDependencies=no
 Conflicts=shutdown.target
 Before=sysinit.target shutdown.target
 ConditionPathExists=/.readahead
+ConditionVirtualization=no
 
 [Service]
 Type=notify
 ExecStart=@rootlibexecdir@/systemd-readahead-replay
 RemainAfterExit=yes
 StandardOutput=null
+OOMScoreAdjust=1000
 
 [Install]
 WantedBy=default.target