units: we need systemd-journald.service from systemd-journal-flush.service
authorLennart Poettering <lennart@poettering.net>
Tue, 1 Feb 2022 17:11:04 +0000 (18:11 +0100)
committerLuca Boccassi <bluca@debian.org>
Mon, 14 Feb 2022 21:58:39 +0000 (21:58 +0000)
commit9793254248a51bd2d19399bacb314e541cf2a4a0
tree88890c7c55bcb0d6d54bba28d939e125e79e1ccb
parentae95ca27bee2bef5bf53002873a254f1a0fe8b81
units: we need systemd-journald.service from systemd-journal-flush.service

This is a follow-up for d5ee050ffc9d413253932d9340ade8c8fb111092, and
reintroduces a requirement dep from systemd-journal-flush.service onto
systemd-journald.service, but a weaker one than originally: a Wants= one
instead of a Requires= one.

Why? Simply because the service issues an IPC call to the journald,
hence it should pull it in. (Note that socket activation doesn't happen
for the Varlink socket it uses, hence we should pull in the service
itself.)

(cherry picked from commit 23b1e8d087c9e8c5a2cdcc6a91510a4e7ca8f72f)
units/systemd-journal-flush.service