]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal: do server_vacuum for sigusr1
authorWaLyong Cho <walyong.cho@samsung.com>
Thu, 28 Aug 2014 12:33:03 +0000 (21:33 +0900)
committerLennart Poettering <lennart@poettering.net>
Wed, 22 Oct 2014 18:43:40 +0000 (20:43 +0200)
commit3bfd4e0c6341b0ef946d2198f089743fa99e0a97
treecd7b52b3b2614151250dd3c7e3701ca5890f8dd6
parent07a60cc13c48c5f79616b07aad2808bfe809de22
journal: do server_vacuum for sigusr1

runtime journal is migrated to system journal when only
"/run/systemd/journal/flushed" exist. It's ok but according to this
the system journal directory size(max use) can be over the config. If
journal is not rotated during some time the journal directory can be
remained as over the config(or default) size. To avoid, do
server_vacuum just after the system journal migration from runtime.
src/journal/journald-server.c