chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
util: rework strappenda(), and rename it strjoina()
[elogind.git]
/
units
/
systemd-journal-flush.service.in
diff --git
a/units/systemd-journal-flush.service.in
b/units/systemd-journal-flush.service.in
index 699670bb4ee79a3a3be1d3ab5dedf80a8054c3cf..a0a2e3fdb4150c1b23ddfe9d98dfd78061e73d42 100644
(file)
--- a/
units/systemd-journal-flush.service.in
+++ b/
units/systemd-journal-flush.service.in
@@
-6,14
+6,17
@@
# (at your option) any later version.
[Unit]
# (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
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
Before=systemd-user-sessions.service systemd-tmpfiles-setup.service
+RequiresMountsFor=/var/log/journal
[Service]
ExecStart=@rootbindir@/journalctl --flush
Type=oneshot
RemainAfterExit=yes
[Service]
ExecStart=@rootbindir@/journalctl --flush
Type=oneshot
RemainAfterExit=yes
+TimeoutSec=90s