]> git.ipfire.org Git - thirdparty/systemd.git/commit
shutdown: send an sd_notify() message on shutdown with the shutdown reason and boot...
authorLennart Poettering <lennart@poettering.net>
Mon, 22 Apr 2024 15:32:12 +0000 (17:32 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 23 Apr 2024 09:04:08 +0000 (11:04 +0200)
commit8c081ae84b5a98df1a18c542a34431c99f59e3ed
treedcd40370a7ff7c6133427547973b7bafba2129b0
parent41fb4dc334ea980d426e4824e65e3503f3558bb7
shutdown: send an sd_notify() message on shutdown with the shutdown reason and boot param

This is kinda nice in containers, to exfiltrate a string from the
container on shutdown.
man/systemd.xml
src/shutdown/shutdown.c