You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Igor Galić <i....@brainsware.org> on 2013/12/06 17:15:32 UTC
Re: [07/11] git commit: TS-2401: Remove global system_runtime_dir
----- 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 ?
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.
++ i
Igor Galić
Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 8716 7A9F 989B ABD5 100F 4008 F266 55D6 2998 1641
Re: [07/11] git commit: TS-2401: Remove global system_runtime_dir
Posted by James Peach <jp...@apache.org>.
On Dec 6, 2013, at 8:15 AM, Igor Galić <i....@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