[
https://issues.apache.org/jira/browse/TRAFODION-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16039770#comment-16039770
]
ASF GitHub Bot commented on TRAFODION-2626:
-------------------------------------------
GitHub user svarnau opened a pull request:
https://github.com/apache/incubator-trafodion/pull/1112
[TRAFODION-2626] make location of tmp directory configurable
This is one small part of this jira. Default path of tmp is
the same old $TRAF_HOME/tmp location, but now it is configurable
via the TRAF_VAR variable. Enables pointing it to somewhere such
as /var/run/trafodion.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/svarnau/incubator-trafodion dirstruct
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/1112.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1112
----
commit 6a9d3683f5909d1558d3b78df5214ff2e2d26269
Author: Steve Varnau <[email protected]>
Date: 2017-06-06T22:14:39Z
[TRAFODION-2626] make location of tmp directory configurable
This is one small part of this jira. Default path of tmp is
the same old $TRAF_HOME/tmp location, but now it is configurable
via the TRAF_VAR variable. Enables pointing it to somewhere such
as /var/run/trafodion.
----
> Log/Conf seperation from TRAF_HOME
> ----------------------------------
>
> Key: TRAFODION-2626
> URL: https://issues.apache.org/jira/browse/TRAFODION-2626
> Project: Apache Trafodion
> Issue Type: Improvement
> Reporter: Steve Varnau
> Assignee: Steve Varnau
>
> Dynamic files (configuration and log files) should be separated from
> delivered software. It should be possible to have config files in /etc, log
> files in /var/log, and runtime software in /usr or /opt.
> First step is to have conf and log variables separate from TRAF_HOME.
> Proposal is to add following variables which can be used either in
> development or production environments to specify locations:
> TRAF_HOME - executable / read-only locations
> TRAF_CONF - configuration files location
> TRAF_LOG - ouput logging location
> TRAF_VAR - temporary / status files (node-local pid files, lock files, etc)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)