diff options
author | Kajur, Harish (vk250x) <vk250x@att.com> | 2019-04-10 13:08:49 -0400 |
---|---|---|
committer | Kajur, Harish (vk250x) <vk250x@att.com> | 2019-04-10 13:08:54 -0400 |
commit | 831d7ae0bef4ff0fbac167d0665ce81b92114c67 (patch) | |
tree | 265cb6d502795d232648ab02d822cbc85d9fd69b /aai-schema-service/src/main | |
parent | 01058c2d8d4916e39f2388016e473f93b0a40566 (diff) |
Update the logs folder to be AAI-SS
Issue-ID: AAI-2356
Change-Id: I3877816f79ee2ebf22a17ae8fcb717057223e931
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
Diffstat (limited to 'aai-schema-service/src/main')
-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 |