/etc/environment
TEST_ENV="some-value"
/etc/systemd/system/connect.service
and right above the line that begins with ExecStart
, enter the line: EnvironmentFile=/etc/environment
systemctl daemon-reload
systemctl restart connect
/etc/environment
, will be accessible from Connect tools. (If you modify that file with new Environment variables or new values, you will have to restart Connect service)