X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd.service.xml;h=59ecf810fb82bebeb1497848df55ba27fe6a52b1;hp=11f6006636aab2e99f2f6c102379196112a62711;hb=f89a3b6f5bf695186e7b9e6cc63993b1272e7569;hpb=16dad32e437fdf2ffca03cc60a083d84bd31886f
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index 11f600663..59ecf810f 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -365,6 +365,13 @@
explicitly to a shell implementation
of some kind. Example:
ExecStart=/bin/sh -c 'dmesg | tac'
+
+ For services run by a user
+ instance of systemd the special
+ environment variable
+ MANAGERPID is set
+ to the PID of the systemd
+ instance.
@@ -407,12 +414,12 @@
variable substitution is supported
here following the same scheme as for
ExecStart=. One
- special environment variable is set:
- if known $MAINPID is
- set to the main process of the
- daemon, and may be used for command
- lines like the following:
- /bin/kill -HUP
+ additional special environment
+ variables is set: if known
+ $MAINPID is set to
+ the main process of the daemon, and
+ may be used for command lines like the
+ following: /bin/kill -HUP
$MAINPID.