journald: allow restarting journald without losing stream connections

System Internals / systemd - Lennart Poettering [poettering.net] - 5 January 2015 20:16 UTC

Making use of the fd storage capability of the previous commit, allow restarting journald by serilizing stream state to /run, and pushing open fds to PID 1.

13790ad journald: allow restarting journald without losing stream connections
src/journal/journald-server.c | 30 ++-
src/journal/journald-stream.c | 376 ++++++++++++++++++++++++++++++++-----
src/journal/journald-stream.h | 3 +-
units/systemd-journald.service.in | 1 +
4 files changed, 349 insertions(+), 61 deletions(-)

Upstream: github.com


  • Share