]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-journal-flush.service.in
hwdb: add accelerometer mount matrix for Umax VisionBook 10Wi Plus
[thirdparty/systemd.git] / units / systemd-journal-flush.service.in
index 699670bb4ee79a3a3be1d3ab5dedf80a8054c3cf..439f5f3f76d5056e4dda593cfb24358004609af3 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
@@ -6,14 +8,17 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=Trigger Flushing of Journal to Persistent Storage
+Description=Flush Journal to Persistent Storage
 Documentation=man:systemd-journald.service(8) man:journald.conf(5)
 DefaultDependencies=no
 Requires=systemd-journald.service
-After=systemd-journald.service local-fs.target remote-fs.target
+After=systemd-journald.service
+After=systemd-remount-fs.service
 Before=systemd-user-sessions.service systemd-tmpfiles-setup.service
+RequiresMountsFor=/var/log/journal
 
 [Service]
 ExecStart=@rootbindir@/journalctl --flush
 Type=oneshot
 RemainAfterExit=yes
+TimeoutSec=90s