Sfoglia il codice sorgente

Add link to subprocess environment info from user= option. Refs #587

Mike Naberezny 10 anni fa
parent
commit
e8efbb6a3b
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6 0
      docs/configuration.rst

+ 6 - 0
docs/configuration.rst

@@ -760,6 +760,12 @@ where specified.
   be used as the account which runs the program.  If :program:`supervisord`
   can't switch to the specified user, the program will not be started.
 
+  .. note::
+
+      The user will be changed using ``setuid`` only.  This does not start
+      a login shell and does not change environment variables like
+      ``USER`` or ``HOME``.  See :ref:`subprocess_environment` for details.
+
   *Default*: Do not switch users
 
   *Required*:  No.