chiark / gitweb /
unit: check for unneeded dependencies even when unit stop was expected
[elogind.git] / units / systemd-readahead-replay.service.in
index 026d3b0efb9fd08c4b3dc0c5067f4702b183e103..7c82e408e21f1edf968d3d52c44a05721a8dfebf 100644 (file)
@@ -9,12 +9,14 @@
 Description=Replay Read-Ahead Data
 DefaultDependencies=no
 Conflicts=shutdown.target
-Before=basic.target shutdown.target
+Before=sysinit.target shutdown.target
+ConditionPathExists=/.readahead
 
 [Service]
 Type=notify
 ExecStart=@rootlibexecdir@/systemd-readahead-replay
 RemainAfterExit=yes
+StandardOutput=null
 
 [Install]
 WantedBy=default.target