From 13790add4bf648fed816361794d8277a75253410 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 6 Jan 2015 00:30:25 +0100 Subject: journald: allow restarting journald without losing stream connections 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. --- src/journal/journald-stream.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/journal/journald-stream.h') diff --git a/src/journal/journald-stream.h b/src/journal/journald-stream.h index 8cad012967..94bf955d78 100644 --- a/src/journal/journald-stream.h +++ b/src/journal/journald-stream.h @@ -21,8 +21,9 @@ along with systemd; If not, see . ***/ +#include "fdset.h" #include "journald-server.h" -int server_open_stdout_socket(Server *s); +int server_open_stdout_socket(Server *s, FDSet *fds); void stdout_stream_free(StdoutStream *s); -- cgit v1.2.3-54-g00ecf