File tree 1 file changed +9
-5
lines changed
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -365,9 +365,12 @@ follows.
365
365
366
366
``user ``
367
367
368
- If :program: `supervisord ` is run as the root user, switch users to
369
- this UNIX user account before doing any meaningful processing. This
370
- value has no effect if :program: `supervisord ` is not run as root.
368
+ Instruct :program: `supervisord ` to switch users to this UNIX user
369
+ account before doing any meaningful processing. The user can only
370
+ be switched if :program: `supervisord ` is started as the root user.
371
+ If :program: `supervisord ` can't switch users, it will still continue
372
+ but will write log message at the ``critical `` level saying that it
373
+ can't drop privileges.
371
374
372
375
*Default *: do not switch users
373
376
@@ -802,8 +805,9 @@ where specified.
802
805
803
806
``user ``
804
807
805
- If :program: `supervisord ` runs as root, this UNIX user account will
806
- be used as the account which runs the program. If :program: `supervisord `
808
+ Instruct :program: `supervisord ` to use this UNIX user account as the
809
+ account which runs the program. The user can only be switched if
810
+ :program: `supervisord ` is run as the root user. If :program: `supervisord `
807
811
can't switch to the specified user, the program will not be started.
808
812
809
813
.. note ::
You can’t perform that action at this time.
0 commit comments