]> git.ipfire.org Git - thirdparty/systemd.git/commit
manager: add 'needs-stop/needs-start' markers
authorLuca Boccassi <luca.boccassi@gmail.com>
Sat, 27 Dec 2025 11:02:30 +0000 (11:02 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 23 Feb 2026 13:05:23 +0000 (13:05 +0000)
commitf3a34fcc3a02b4de0fa8dbc8c0e4a8cc1305500b
treedcc6667a46e4deb80b909bfac92e57861ab233e4
parenta2a78602b08bcec571fb081bdeb1d8854d91f93e
manager: add 'needs-stop/needs-start' markers

Useful for packaging scripts, when units are removed.
When multiple markers are assigned without +/-, the last one wins.
When using +/-, the job merging logic is followed to the extent possible.
man/org.freedesktop.systemd1.xml
src/basic/unit-def.c
src/basic/unit-def.h
src/core/dbus-manager.c
src/core/dbus-unit.c
src/core/unit.c
src/core/unit.h
src/core/varlink-manager.c
src/core/varlink-unit.c
test/units/TEST-26-SYSTEMCTL.sh