diff options
author | Valery Piashchynski <[email protected]> | 2024-01-10 22:11:28 +0100 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2024-01-10 22:11:28 +0100 |
commit | 73583571caee5827c3465c0c39fca1fb48c40a3a (patch) | |
tree | 8c62558e3122a3dd3a901df186a63cbbe7831040 | |
parent | 125573c14d0867fc293629f9bf58c8395f620dd3 (diff) |
feat: update server plugin configuration
Signed-off-by: Valery Piashchynski <[email protected]>
-rw-r--r-- | .rr.yaml | 5 | ||||
-rw-r--r-- | schemas/config/3.0.schema.json | 8 |
2 files changed, 13 insertions, 0 deletions
@@ -43,6 +43,11 @@ server: - SOME_KEY: "SOME_VALUE" - SOME_KEY2: "SOME_VALUE2" + # Username (not UID) of the user from whom the on_init command is executed. An empty value means to use the RR process user. + # + # Default: "" + user: "" + # Worker starting command, with any required arguments. # # This option is required. diff --git a/schemas/config/3.0.schema.json b/schemas/config/3.0.schema.json index 0d62a6f1..bb633e27 100644 --- a/schemas/config/3.0.schema.json +++ b/schemas/config/3.0.schema.json @@ -106,6 +106,14 @@ "$ref": "#/definitions/Duration", "default": "60s" }, + "user": { + "description": "Username (not UID) of the user from whom the on_init command is executed. An empty value means to use the RR process user.", + "type": "string", + "default": "", + "examples": [ + "www-data" + ] + }, "env": { "description": "Environment variables for the worker processes", "type": "array", |