summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-01-15 15:21:29 +0800
committerLennart Poettering <lennart@poettering.net>2014-01-15 20:16:20 +0100
commitac3efa8ac62b60261d6c101bc98831316523b07a (patch)
treee1d2968af629ab87b69ab93353e8a36c56b49d4c /man
parent6a38d04a036475bfc222f40961e2adcaa70a6174 (diff)
systemctl: introduce new "import-environment" command
This may be used in graphical session start-up scripts to upload environment variables such as $DISPLAY into the systemd manager easily.
Diffstat (limited to 'man')
-rw-r--r--man/systemctl.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index 13a4444a04..ed1bf4813a 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -1190,6 +1190,19 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
specified value.</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><command>import-environment <replaceable>VARIABLE</replaceable>...</command></term>
+
+ <listitem>
+ <para>Import all, one or more environment variables set on
+ the client into the systemd manager environment block. If
+ no arguments are passed the entire environment block is
+ imported. Otherwise a list of one or more environment
+ variable names should be passed, whose client side values
+ are then imported into the manager's environment
+ block.</para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect2>