diff options
author | James Forsyth <jf2512@att.com> | 2019-04-10 17:16:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-10 17:16:35 +0000 |
commit | d52076b0c1cb20eae678cfcf534988d3d0618c34 (patch) | |
tree | 646d07f8a07de679e10a7a8104cc4b2e4a370e08 /aai-schema-service/src | |
parent | 83a0651672b102db6bc18373445a8187d95a17ac (diff) | |
parent | 831d7ae0bef4ff0fbac167d0665ce81b92114c67 (diff) |
Merge "Update the logs folder to be AAI-SS"
Diffstat (limited to 'aai-schema-service/src')
-rw-r--r-- | aai-schema-service/src/main/docker/Dockerfile | 2 | ||||
-rw-r--r-- | aai-schema-service/src/main/docker/docker-entrypoint.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/aai-schema-service/src/main/docker/Dockerfile b/aai-schema-service/src/main/docker/Dockerfile index 53d272e..f15288f 100644 --- a/aai-schema-service/src/main/docker/Dockerfile +++ b/aai-schema-service/src/main/docker/Dockerfile @@ -15,7 +15,7 @@ ENTRYPOINT ["/bin/bash", "/opt/app/aai-schema-service/docker-entrypoint.sh"] RUN mkdir -p /opt/aaihome/aaiadmin /opt/aai/logroot/AAI-SCHEMA-SERVICE -VOLUME /opt/aai/logroot/AAI-SCHEMA-SERVICE +VOLUME /opt/aai/logroot/AAI-SS VOLUME /tmp VOLUME /opt/tools diff --git a/aai-schema-service/src/main/docker/docker-entrypoint.sh b/aai-schema-service/src/main/docker/docker-entrypoint.sh index 8723971..09f7943 100644 --- a/aai-schema-service/src/main/docker/docker-entrypoint.sh +++ b/aai-schema-service/src/main/docker/docker-entrypoint.sh @@ -44,7 +44,7 @@ find /opt/app/ -name "*.sh" -exec chmod +x {} + if [ -f ${APP_HOME}/aai.sh ]; then gosu aaiadmin ln -s bin scripts - gosu aaiadmin ln -s /opt/aai/logroot/AAI-SCHEMA-SERVICE logs + gosu aaiadmin ln -s /opt/aai/logroot/AAI-SS logs mv ${APP_HOME}/aai.sh /etc/profile.d/aai.sh chmod 755 /etc/profile.d/aai.sh |