summaryrefslogtreecommitdiff
path: root/man/systemd-system.conf.xml
diff options
context:
space:
mode:
authorRonan Pigott <ronan@rjp.ie>2023-02-27 22:57:06 -0700
committerLuca Boccassi <luca.boccassi@gmail.com>2023-03-10 00:05:37 +0000
commit0b40688d1830abc6f59b1f1f67eccd757c23eb09 (patch)
tree980095a20a4344d9d532d619eb183727a76a419f /man/systemd-system.conf.xml
parent28f3cbbdedb53e8207fb361cf497ef74dfa52aab (diff)
downloadsystemd-0b40688d1830abc6f59b1f1f67eccd757c23eb09.tar.gz
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>