core: Add triggering job mode
authorKevin Kuehler <keur@xcf.berkeley.edu>
Fri, 1 Nov 2019 07:54:03 +0000 (00:54 -0700)
committerKevin Kuehler <keur@xcf.berkeley.edu>
Tue, 5 Nov 2019 19:17:38 +0000 (11:17 -0800)
commit1f0f9f21c1b19e1e450c3c2696955fd6f442ca2b
treec27260e7baf7061a571f3a0cc3a6976b0879eea3
parentc0619079cc9f3c81da24b38f803e7aadb85be953
core: Add triggering job mode

When used with systemctl stop, follows TRIGGERED_BY dependencies and
adds them to the same transaction.

Fixes: #3043
TODO
src/core/job.c
src/core/job.h
src/core/manager.c
src/core/transaction.c
src/core/transaction.h