Skip to content

Commit

Permalink
configuration_manual: config_variables - Document process key
Browse files Browse the repository at this point in the history
  • Loading branch information
cmouse committed Dec 22, 2023
1 parent c6b10f4 commit 6c2620e
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions source/configuration_manual/config_file/config_variables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,8 @@ Global variables that work everywhere are:
| system:<name> | Get a system variable, see :ref:`below <variables-system-variables>` |
| | for list of supported names. |
+----------------+-----------------------------------------------------------------------------+
| uid | Effective UID of the current process NOTE: This is overridden for |
| | :ref:`mail service user variables <variables-mail_service_user>`. |
+----------------+-----------------------------------------------------------------------------+
| gid | Effective GID of the current process NOTE: This is overridden for |
| | :ref:`mail service user variables <variables-mail_service_user>`. |
+----------------+-----------------------------------------------------------------------------+
| pid | PID of the current process (e.g. login or imap/pop3 process). |
| process:<name> | Get a process variable, see :ref:`below <variables-process-variables>` |
| | for list of supported names. |
+----------------+-----------------------------------------------------------------------------+

If :ref:`var_expand_crypt_plugin` is loaded, these also work globally:
Expand Down Expand Up @@ -64,6 +59,18 @@ Supported system variables
Hostname (without domain). Can be overridden with DOVECOT_HOSTNAME
environment variable.

.. _variables-process-variables:

Supported process variables
^^^^^^^^^^^^^^^^^^^^^^^^^^^

``pid``
Current process ID.
``uid``
Effective user ID of the current process.
``gid``
Effective group ID of the current process.

.. _variables-user:

User variables
Expand Down

0 comments on commit 6c2620e

Please sign in to comment.