...
Current config parameters:
| Config Name | Description | Default value |
|---|---|---|
| environmentVariables | A list of environment variables that are set in the session servers spawned by the session server manager | |
| extraEnvVariables | A list of environment variables that are added to the existing environmentVariables. These are typically used in rialto-soc.json or rialto-config-overrides.json | |
| sessionServerPath | An absolute path to the sessions server binary | "/usr/bin/RialtoServer" |
| startupTimeoutMs | The amount of time the session server manager waits for a session server to start. If this time is exceeded, the session server manager stops the server and reports a failure. If the value is set to 0, there is no time limit, and the manager will wait indefinitely. | |
| healthcheckIntervalInSeconds | Specifies how often health check messages are sent. | |
| numOfPingsBeforeRecovery | Specifies how many consecutive failed pings are required before a recovery action is triggered. | |
| socketPermissions | Specifies the permissions for the session management socket, expressed in octal permissions. | |
| socketOwner | Specifies the owner of the session management socket. | "" |
| socketGroup | Specifies the group ownership of the session management socket. | "" |
| numOfPreloadedServers | The amount of preloaded servers. | 1 |
| logLevel | Log level of all Rialto components. 1 - ERROR | 3 |
...
To allow more flexible environment variable management, repeated environmentVariables will also overwrite extraEnvVariables from the previous configuration settings. Additionally, if there are environment variables with the same names in both environmentVariables and extraEnvVariables, the values from extraEnvVariables will take priority and be used.
Examples:
| Example | Final environment variables set in the Session Server | Note |
|---|---|---|
| ["env3=3"] | environmentVariables from /etc/rialto-soc.json overriden both environmentVariables and extraEnvVariables from /etc/sky/rialto-config.json |
/etc/sky/rialto-config.json: environmentVariables = ["env1=1"], extraEnvVariables = ["env2=2"] | ["env1=1", "env4=4"] | extraEnvVariables from the /opt/persistent/sky/rialto-config-overrides.json and environmentVariables from /etc/sky/rialto-config.json are combined |
/etc/sky/rialto-config.json: environmentVariables = ["env1=1", "env2=2"]extraEnvVariables = ["env1=3"] | ["env1=3", "env2=2"] | env1 is defined in both environmentVariables and extraEnvVariables, the value from extraEnvVariables will be used. |