]>
Commit | Line | Data |
---|---|---|
663996b3 MS |
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=Trigger Flushing of 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 local-fs.target remote-fs.target | |
5eef597e | 14 | Before=systemd-user-sessions.service systemd-tmpfiles-setup.service |
663996b3 MS |
15 | |
16 | [Service] | |
5eef597e | 17 | ExecStart=@rootbindir@/journalctl --flush |
663996b3 | 18 | Type=oneshot |
5eef597e | 19 | RemainAfterExit=yes |