]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/unit: introduce unit_set_debug_invocation()
authorMike Yuan <me@yhndnzj.com>
Wed, 28 Aug 2024 17:46:22 +0000 (19:46 +0200)
committerMike Yuan <me@yhndnzj.com>
Wed, 4 Sep 2024 19:37:20 +0000 (21:37 +0200)
commit7f2a7ccf7d44591789fd9e072e7b07b8cf1536ee
treefb7c46939f5286257c984454706154ea54146274
parent40233f70cc8de31487817609cd543ea4f193a73f
core/unit: introduce unit_set_debug_invocation()

Given that debug_invocation is a Unit thing, make
service_set_debug_invocation() generic. Plus, don't
say "Service failed", as it would be spurious when
Restart=always.
src/core/service.c
src/core/unit.c
src/core/unit.h