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)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 1 Feb 2022 20:09:39 +0000 (05:09 +0900)
commit23b1e8d087c9e8c5a2cdcc6a91510a4e7ca8f72f
treed399b7be9b85cf52053db42a40936b0f6f05d002
parent82140e956cdc1a4709ea3e43e88b2a7b71059b18
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.)
units/systemd-journal-flush.service