journald: add ability to activate by varlink socket
authorLennart Poettering <lennart@poettering.net>
Wed, 27 Nov 2019 13:47:37 +0000 (14:47 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 31 Jan 2020 14:03:55 +0000 (15:03 +0100)
commitdc5437c78bbfe02d7bc0d8adad25575aeaf75c28
treed5b47c0ca9fd2fe3a5ff183a809bb257250fbf39
parent65c398c031a3065caf34d258d4f9c50cd33a122c
journald: add ability to activate by varlink socket

If we have exit on idle, then operations such as "journalctl
--namespace=foo --rotate" should work even if the journal daemon is
currently not running.

(Note that we don't do activation by varlink for the main instance of
journald, I am not sure the deadlocks it might introduce are worth it)
src/core/unit.c
src/journal/journald-server.c
units/meson.build
units/systemd-journald-varlink@.socket [new file with mode: 0644]
units/systemd-journald@.service.in