summaryrefslogtreecommitdiffstats
path: root/man/systemd-system.conf.xml
diff options
context:
space:
mode:
authorRonan Pigott <ronan@rjp.ie>2023-02-28 06:57:06 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2023-03-10 01:05:37 +0100
commit0b40688d1830abc6f59b1f1f67eccd757c23eb09 (patch)
tree980095a20a4344d9d532d619eb183727a76a419f /man/systemd-system.conf.xml
parentMerge pull request #26734 from mrc0mmand/test-followups (diff)
downloadsystemd-0b40688d1830abc6f59b1f1f67eccd757c23eb09.tar.xz
systemd-0b40688d1830abc6f59b1f1f67eccd757c23eb09.zip
load-fragment: add user credential specifiers to user.conf
This enables the ManagerEnvironment= settings in the user's user.conf to reference some user data like $HOME for the purpose of setting environment variables derived from these values.
Diffstat (limited to 'man/systemd-system.conf.xml')
-rw-r--r--man/systemd-system.conf.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml
index 554d0fbd45..4860dab841 100644
--- a/man/systemd-system.conf.xml
+++ b/man/systemd-system.conf.xml
@@ -604,6 +604,36 @@
<xi:include href="standard-specifiers.xml" xpointer="W"/>
<xi:include href="standard-specifiers.xml" xpointer="T"/>
<xi:include href="standard-specifiers.xml" xpointer="V"/>
+ <row>
+ <entry><literal>%h</literal></entry>
+ <entry>User home directory</entry>
+ <entry>This is the home directory of the <emphasis>user running the service manager instance</emphasis>.</entry>
+ </row>
+ <row>
+ <entry><literal>%u</literal></entry>
+ <entry>Username</entry>
+ <entry>This is the username of the <emphasis>user running the service manager instance</emphasis>.</entry>
+ </row>
+ <row>
+ <entry><literal>%U</literal></entry>
+ <entry>User id</entry>
+ <entry>This is the user id of the <emphasis>user running the service manager instance</emphasis>.</entry>
+ </row>
+ <row>
+ <entry><literal>%g</literal></entry>
+ <entry>Primary group</entry>
+ <entry>This is the primary group of the <emphasis>user running the service manager instance</emphasis>.</entry>
+ </row>
+ <row>
+ <entry><literal>%G</literal></entry>
+ <entry>Primary group id</entry>
+ <entry>This is the primary group id of the <emphasis>user running the service manager instance</emphasis>.</entry>
+ </row>
+ <row>
+ <entry><literal>%s</literal></entry>
+ <entry>User shell</entry>
+ <entry>This is the shell of the <emphasis>user running the service manager instance</emphasis>.</entry>
+ </row>
<xi:include href="standard-specifiers.xml" xpointer="percent"/>
</tbody>
</tgroup>