How to Set Environment Variables When Using a systemd Service Wrapper for CodeScene?
If you’re running CodeScene using a systemd service wrapper, any environment variables you export in your current shell (for example, using export PM_DATA_TIMEOUT_MS=60000) will not be visible to the CodeScene service. This is because systemd runs services in their own environment, isolated from the user shell.
To make CodeScene recognize the variable, you need to define it directly in the systemd service definition file. The steps on how to do so are available on the following link: Setting Environment Variables for systemd services.