When you start JobServer, the Job does not inherit the environment variables of your user profile.
Additional Versions
Product
Talend Data Integration
Component
JobServer
Problem Description
After starting JobServer using the start_rs.sh script file, the output of the environment from a terminal matches with the output of the environment generated by the Job. This was also crosschecked with the /proc/PID/environ file used by JobServer.
Problem root cause
Different sets of environment variables were noticed when JobServer was started using the systemd option.
Solution or Workaround
For the environment variables to work correctly when JobServer is started using systemctl, you have to use either an Environment or an EnvironmentFile directive.