X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.exec.xml;h=ff8b812ef44087ab47278cde43bcc83e3614952a;hb=f4ae69117ba47e75ff89c7d847e180af9af7436a;hp=c0e1d862a62b350d90b5f510c1ff411daa8b1f97;hpb=dc7adf202b82fc0054c457ce6ca3bcedb88dde57;p=elogind.git diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index c0e1d862a..ff8b812ef 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -1,4 +1,3 @@ - @@ -77,6 +76,27 @@ configuration options are configured in the [Service], [Socket], [Mount], or [Swap] sections, depending on the unit type. + + Processes started by the system systemd instance + are executed in a clean environment in which only the + $PATH and $LANG + variables are set by default. In order to add + additional variables, see the + Environment= and + EnvironmentFile= options below. To + specify variables globally, see + DefaultEnvironment= in + systemd-system.conf5 + or the kernel option + systemd.setenv= in + systemd1. Processes + started by the user systemd instances inherit all + environment variables from the user systemd instance, + and have $HOME, + $USER, + $XDG_RUNTIME_DIR defined, among + others. In addition, $MANAGERPID + contains the PID of the user systemd instance. @@ -327,8 +347,8 @@ absolute filename or wildcard expression, optionally prefixed with -, which indicates - that if the file does not exist it - won't be read and no error or warning + that if the file does not exist, it + will not be read and no error or warning message is logged. This option may be specified more than once in which case all specified files are read. If the @@ -828,7 +848,15 @@ the empty string is assigned to this option the specific list is reset, and all prior assignments have no - effect. + effect. + Paths in + ReadOnlyDirectories= + and + InaccessibleDirectories= + may be prefixed with + -, in which case + they will be ignored when they do not + exist. @@ -964,7 +992,7 @@ sigreturn, exit_group, exit system calls - are implicitly whitelisted and don't + are implicitly whitelisted and do not need to be listed explicitly. This option may be specified more than once in which case the filter masks are