Modifying Environment Variables
The method that
you use to modify environment variables depends on the Data Collector
installation type:
- Tarball installation started manually from the command line
- When you start Data Collector manually from the command line on any operating system, edit the
$SDC_DIST/libexec/sdc-env.sh
file to modify environment variables. - Tarball installation started as a service on operating systems that use the SysV init system
- When you start Data Collector as a service on CentOS 6, Oracle Linux 6, Red Hat Enterprise Linux 6, or Ubuntu
14.04 LTS, edit the
$SDC_DIST/libexec/sdcd-env.sh
file to modify environment variables. - Tarball installation started as a service on operating systems that use the systemd init system
- When you start Data Collector as a service on CentOS 7, Oracle Linux 7, Red Hat Enterprise Linux 7, or Ubuntu
16.04 LTS, edit the
sdc.service
file to modify environment variables.