This is an automated email from the ASF dual-hosted git repository. masaori pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push: new 45f155f Doc: Notes of setting Environment Variables for traffic_server (#8258) 45f155f is described below commit 45f155f28a455a9f2599e5e1540bc3b5bdef82a2 Author: Masaori Koshiba <masa...@apache.org> AuthorDate: Thu Aug 19 07:46:02 2021 +0900 Doc: Notes of setting Environment Variables for traffic_server (#8258) --- doc/admin-guide/files/records.config.en.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/admin-guide/files/records.config.en.rst b/doc/admin-guide/files/records.config.en.rst index 2b7470d..0ff2048 100644 --- a/doc/admin-guide/files/records.config.en.rst +++ b/doc/admin-guide/files/records.config.en.rst @@ -191,6 +191,16 @@ System Variables The name of the executable that runs the :program:`traffic_server` process. + If you want to set Environment Variables for :program:`traffic_server` process, use a wrapper script like below. :: + + CONFIG proxy.config.proxy_binary STRING start_traffic_server.sh + + :: + + #!/bin/sh + export ASAN_OPTIONS=detect_leaks=1 + /opt/ats/bin/traffic_server "$@" + .. ts:cv:: CONFIG proxy.config.proxy_binary_opts STRING -M The :ref:`command-line options <traffic_server>` for starting |TS|.