summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2023-04-13 01:12:03 +0800
committerGitHub <noreply@github.com>2023-04-13 01:12:03 +0800
commit93ba4c1bc095ddeda608c0a7b1af2b51c8319a8b (patch)
tree07110af764407b1dfa38fc7f3f6df7407b583b78 /man
parent7581da99a104f31e49ea679eb352cb46a3a19383 (diff)
parent88eec29d188f2ed18bff6b06ecd61d8c09db48f4 (diff)
downloadsystemd-93ba4c1bc095ddeda608c0a7b1af2b51c8319a8b.tar.gz
Merge pull request #27212 from DaanDeMeyer/notify-exit
core: Propagate exit status via notify socket when running in VM
Diffstat (limited to 'man')
-rw-r--r--man/sd_notify.xml7
1 files changed, 7 insertions, 0 deletions
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
@@ -171,6 +171,13 @@
</varlistentry>
<varlistentry>
+ <term>EXIT_STATUS=…</term>
+
+ <listitem><para>If a service exits, the return value of its <function>main()</function> function.
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>MAINPID=…</term>
<listitem><para>The main process ID (PID) of the service, in case the service manager did not fork