]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: when we install a job, announce this via the bus
authorLennart Poettering <lennart@poettering.net>
Thu, 29 Nov 2018 17:48:32 +0000 (18:48 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 1 Dec 2018 11:53:26 +0000 (12:53 +0100)
commite6d05912cb1785d8c75eb40545beb8a7c6753cb9
tree97d51a6096e0ed884eeca3b926e9ea63353265ff
parent641e0d7a1bf4e24f5bf5f99a2d74a97635335c8e
core: when we install a job, announce this via the bus

Whenever we enqueue a job, we should announce this on the bus, hence add
both the job and the unit to the dbus queues. (Why both? The former
should be obvious, the latter because we send out Job properties).

In most cases adding these to the queue is not necessary, as
other properties tend to change at the same time and result in a change
being sent out. However, let's clean this up and make it explicit.
src/core/job.c