chiark / gitweb /
resolved: add busname unit file
[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=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
14 Before=systemd-user-sessions.service
15
16 [Service]
17 ExecStart=@rootbindir@/systemctl kill --kill-who=main --signal=SIGUSR1 systemd-journald.service
18 Type=oneshot