[
https://issues.apache.org/jira/browse/KNOX-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sandor Molnar updated KNOX-1814:
--------------------------------
Description:
Currently, the following folder checks exist in {{gateway.sh}}:
* {{conf}} directory exists and can be read?
* {{data}}, {{log}}, {{pid}} directories exist and can be written?
Only the {{conf}} and {{data}} folders are used by the Java code ({{log}} and
{{pid }}only used in the bash script). Those directories are configurable using
GATEWAY_HOME in the Java layer, therefore those checks should either be removed
or fixed, so they take those variables into account.
was:
Currently, the following folder checks exist in {{gateway.sh}}:
* {{conf}} directory exists and can be read?
* {{data}}, {{log}}, {{pid}} directories exist and can be written?
Those directories are configurable using GATEWAY_HOME in the Java layer,
therefore those checks should either be removed or fixed, so they take those
variables into account.
> Move directory check to Java layer
> ----------------------------------
>
> Key: KNOX-1814
> URL: https://issues.apache.org/jira/browse/KNOX-1814
> Project: Apache Knox
> Issue Type: Improvement
> Components: Server
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Major
> Fix For: 1.3.0
>
>
> Currently, the following folder checks exist in {{gateway.sh}}:
> * {{conf}} directory exists and can be read?
> * {{data}}, {{log}}, {{pid}} directories exist and can be written?
> Only the {{conf}} and {{data}} folders are used by the Java code ({{log}} and
> {{pid }}only used in the bash script). Those directories are configurable
> using GATEWAY_HOME in the Java layer, therefore those checks should either be
> removed or fixed, so they take those variables into account.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)