]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-journal-catalog-update.service.in
man: document initrd.target
[thirdparty/systemd.git] / units / systemd-journal-catalog-update.service.in
index bfa5e6b43510b856e9f70a37d565a8947208580f..18b2739ffab0bfe066937cd72c1b69d8fb205df6 100644 (file)
@@ -1,3 +1,5 @@
+#  SPDX-License-Identifier: LGPL-2.1+
+#
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
@@ -10,11 +12,12 @@ Description=Rebuild Journal Catalog
 Documentation=man:systemd-journald.service(8) man:journald.conf(5)
 DefaultDependencies=no
 Conflicts=shutdown.target
-After=local-fs.target
+After=local-fs.target systemd-tmpfiles-setup.service
 Before=sysinit.target shutdown.target systemd-update-done.service
-ConditionNeedsUpdate=/etc
+ConditionNeedsUpdate=/var
 
 [Service]
 Type=oneshot
 RemainAfterExit=yes
 ExecStart=@rootbindir@/journalctl --update-catalog
+TimeoutSec=90s