]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: propagate stop too if restart is issued 25977/head
authorMike Yuan <me@yhndnzj.com>
Sun, 8 Jan 2023 15:16:22 +0000 (23:16 +0800)
committerMike Yuan <me@yhndnzj.com>
Thu, 19 Jan 2023 13:56:58 +0000 (21:56 +0800)
commit017a7ba4f406adcf69d6b3ec15b9f2d9ed5ad853
tree0fb3c5d1c0156307bef1ec2b843a14434c1b2229
parentfd55b2e599564a9a97890697e7e40df5d2b4745e
core: propagate stop too if restart is issued

The restart of a unit should also be considered as that
a stop job happens, and thus gets propagated to units
specified using PropagatesStopTo=.

Fixes #24068
src/core/transaction.c