trafficserver-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Peach <jpe...@apache.org>
Subject Re: [07/11] git commit: TS-2401: Remove global system_runtime_dir
Date Fri, 06 Dec 2013 17:14:46 GMT
On Dec 6, 2013, at 8:15 AM, Igor Galić <i.galic@brainsware.org> wrote:

> 
> 
> ----- Original Message -----
>> TS-2401: Remove global system_runtime_dir
>> 
>> Introduce RecConfigReadRuntimeDir() to centralize overriding
>> Layout::runtimedir with proxy.config.local_state_dir. Use this to
>> replace all the instances of system_runtime_dir.
> 
> Do I understand it correctly that we can now (or always could?)
> easily relocate a trafficserver installation, and run multiple instances
> by simply setting a different proxy.config.local_state_dir ?

This feature was always present, but inconsistently applied. It should work correctly now.
You have always been able to use $TS_ROOT to relocate $PREFIX and I've used that for test
suites. Soon I'll post a patch that uses it ;)

> 
> Analogous to https://httpd.apache.org/docs/current/mod/core.html#defaultruntimedir )
> 
> I'm aware that this isn't useful for most users, but it may well be
> useful to developers.

Probably useful to ops in certain deployment environments.

J
Mime
View raw message