chiark / gitweb /
importd: create a loopback btrfs file system for /var/lib/machines, if necessary
[elogind.git] / units / systemd-journal-flush.service.in
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]
9 Description=Flush Journal to Persistent Storage
10 Documentation=man:systemd-journald.service(8) man:journald.conf(5)
11 DefaultDependencies=no
12 Requires=systemd-journald.service
13 After=systemd-journald.service
14 After=systemd-remount-fs.service
15 Before=systemd-user-sessions.service systemd-tmpfiles-setup.service
16 RequiresMountsFor=/var/log/journal
17
18 [Service]
19 ExecStart=@rootbindir@/journalctl --flush
20 Type=oneshot
21 RemainAfterExit=yes
22 TimeoutSec=90s