chiark / gitweb /
fsckd: make sure unprivileged clients cannot play games with fsckd
[elogind.git] / units / systemd-journal-flush.service.in
index 2612220e2e15b7125c6a41b87150af0f492d4e7a..a0a2e3fdb4150c1b23ddfe9d98dfd78061e73d42 100644 (file)
@@ -6,11 +6,12 @@
 #  (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
+After=systemd-remount-fs.service
 Before=systemd-user-sessions.service systemd-tmpfiles-setup.service
 RequiresMountsFor=/var/log/journal
 
@@ -18,3 +19,4 @@ RequiresMountsFor=/var/log/journal
 ExecStart=@rootbindir@/journalctl --flush
 Type=oneshot
 RemainAfterExit=yes
+TimeoutSec=90s