chiark / gitweb /
man: document systemd-random-seed-load.service
[elogind.git] / units / systemd-readahead-collect.service.in
index c5e1d5274f84c2d3b760aadb183a1479a2c836b8..c597cdc5aad2225788fc056b134ec7e5481c7025 100644 (file)
@@ -11,13 +11,17 @@ DefaultDependencies=no
 Wants=systemd-readahead-done.timer
 Conflicts=shutdown.target
 Before=sysinit.target shutdown.target
+ConditionPathExists=!/run/systemd/readahead/cancel
+ConditionPathExists=!/run/systemd/readahead/done
 ConditionVirtualization=no
 
 [Service]
 Type=notify
-ExecStart=@rootlibexecdir@/systemd-readahead-collect
+ExecStart=@rootlibexecdir@/systemd-readahead collect
 RemainAfterExit=yes
 StandardOutput=null
+OOMScoreAdjust=1000
 
 [Install]
 WantedBy=default.target
+Also=systemd-readahead-drop.service