]> git.ipfire.org Git - thirdparty/systemd.git/commit - Makefile.am
journal: replace implicit flushing of journal by explicit one
authorLennart Poettering <lennart@poettering.net>
Wed, 11 Jul 2012 00:41:16 +0000 (02:41 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 11 Jul 2012 00:41:16 +0000 (02:41 +0200)
commitb8156be03f71c53072c7126bb418410acbef6c81
tree04f650efd49798b9c4cadfd521952d5a91f3fb74
parent14a65d65a0c25ba4809b8d97f54ebf3e12eac84c
journal: replace implicit flushing of journal by explicit one

The old automatism that the flushing of the journal from /run to /var
was triggered by the appearance of /var/log/journal is broken if that
directory is mounted from another host and hence always available to be
useful as mount point. To avoid probelsm with this, introduce a new unit
that is explicitly orderer after all mounte files systems and triggers
the flushing.
Makefile.am
src/journal/journald.c
units/.gitignore
units/systemd-journal-flush.service.in [new file with mode: 0644]
units/systemd-journald.service.in