Skip to content

Commit 83036de

Browse files
committed
Add note that startup is aborted when setuid() fails
1 parent 3823a82 commit 83036de

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/configuration.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,16 +369,18 @@ follows.
369369
Instruct :program:`supervisord` to switch users to this UNIX user
370370
account before doing any meaningful processing. The user can only
371371
be switched if :program:`supervisord` is started as the root user.
372-
If :program:`supervisord` can't switch users, it will still continue
373-
but will write a log message at the ``critical`` level saying that it
374-
can't drop privileges.
375372

376373
*Default*: do not switch users
377374

378375
*Required*: No.
379376

380377
*Introduced*: 3.0
381378

379+
*Changed*: 3.3.4. If :program:`supervisord` can't switch to the
380+
specified user, it will write an error message to ``stderr`` and
381+
then exit immediately. In earlier versions, it would continue to
382+
run but would log a message at the ``critical`` level.
383+
382384
``directory``
383385

384386
When :program:`supervisord` daemonizes, switch to this directory.

0 commit comments

Comments
 (0)