]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-journal-flush.service.in
units: .gitignore: units - ignore tmp.mount
[thirdparty/systemd.git] / units / systemd-journal-flush.service.in
CommitLineData
b8156be0
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
6# (at your option) any later version.
7
8[Unit]
a65b8245 9Description=Flush Journal to Persistent Storage
b8156be0
LP
10Documentation=man:systemd-journald.service(8) man:journald.conf(5)
11DefaultDependencies=no
12Requires=systemd-journald.service
919699ec 13After=systemd-journald.service
1f1926aa 14After=systemd-remount-fs.service
74055aa7 15Before=systemd-user-sessions.service systemd-tmpfiles-setup.service
919699ec 16RequiresMountsFor=/var/log/journal
b8156be0
LP
17
18[Service]
74055aa7 19ExecStart=@rootbindir@/journalctl --flush
b8156be0 20Type=oneshot
74055aa7 21RemainAfterExit=yes
75f709fb 22TimeoutSec=90s