From 623a00020f116d8e9c70608a9e4f7cc978342441 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 12 Apr 2023 11:56:00 +0200 Subject: notify: Add EXIT_STATUS field Whenever one of our tools or daemons exits, let's send the exit status via sd-notify in the EXIT_STATUS field. --- man/sd_notify.xml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'man') diff --git a/man/sd_notify.xml b/man/sd_notify.xml index 39bddc9d15..f93542e329 100644 --- a/man/sd_notify.xml +++ b/man/sd_notify.xml @@ -170,6 +170,13 @@ BUSERROR=org.freedesktop.DBus.Error.TimedOut + + EXIT_STATUS=… + + If a service exits, the return value of its main() function. + + + MAINPID=… -- cgit v1.2.1