]> git.ipfire.org Git - thirdparty/systemd.git/commit
run: fire sd_notify("READY=1") when in service mode and the unit is properly started
authorLennart Poettering <lennart@poettering.net>
Tue, 14 Jan 2025 10:48:52 +0000 (11:48 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 15 Jan 2025 16:03:21 +0000 (17:03 +0100)
commitdb320d97ca3821fe32b9d0ab2771cf886a866b06
treef33a6680de2286598d32ecf3bc7cb977c4e30824
parentcf8f6cd0571a4f474c449d4b1fda1c4192c01824
run: fire sd_notify("READY=1") when in service mode and the unit is properly started

Let's make sure systemd-run itself works nicely as a service that tells
the caller when it is ready.

Note that we don't fire the same message in scope mode, since in that
case want to leave sd_notify() handling to the invoked process.
src/run/run.c