]>
Commit | Line | Data |
---|---|---|
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 | 9 | Description=Flush Journal to Persistent Storage |
b8156be0 LP |
10 | Documentation=man:systemd-journald.service(8) man:journald.conf(5) |
11 | DefaultDependencies=no | |
12 | Requires=systemd-journald.service | |
919699ec | 13 | After=systemd-journald.service |
1f1926aa | 14 | After=systemd-remount-fs.service |
74055aa7 | 15 | Before=systemd-user-sessions.service systemd-tmpfiles-setup.service |
919699ec | 16 | RequiresMountsFor=/var/log/journal |
b8156be0 LP |
17 | |
18 | [Service] | |
74055aa7 | 19 | ExecStart=@rootbindir@/journalctl --flush |
b8156be0 | 20 | Type=oneshot |
74055aa7 | 21 | RemainAfterExit=yes |
75f709fb | 22 | TimeoutSec=90s |