Added environment variables support in code, sysconfig file and systemd service