mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-01-25 14:58:50 +01:00
23 lines
555 B
Plaintext
23 lines
555 B
Plaintext
### Option: AllowRoot
|
|
# Allow the agent to run as 'root'. If disabled and the agent is started by 'root', the agent
|
|
# will try to switch to the user specified by the User configuration option instead.
|
|
# Has no effect if started under a regular user.
|
|
# 0 - do not allow
|
|
# 1 - allow
|
|
#
|
|
# Mandatory: no
|
|
# Default:
|
|
# AllowRoot=0
|
|
|
|
AllowRoot=${ZBX_ALLOWROOT}
|
|
|
|
### Option: User
|
|
# Drop privileges to a specific, existing user on the system.
|
|
# Only has effect if run as 'root' and AllowRoot is disabled.
|
|
#
|
|
# Mandatory: no
|
|
# Default:
|
|
# User=zabbix
|
|
|
|
User=${ZBX_USER}
|