chiark / gitweb /
journal: implicitly add code location to all messages logged with the native interface
[elogind.git] / units / systemd-readahead-replay.service.in
index f6ca475ae74b8713460d5c9758c4de7d60118f71..7c82e408e21f1edf968d3d52c44a05721a8dfebf 100644 (file)
@@ -9,13 +9,14 @@
 Description=Replay Read-Ahead Data
 DefaultDependencies=no
 Conflicts=shutdown.target
-Before=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
-Also=systemd-readahead-collect.service