You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by jk...@apache.org on 2022/01/25 15:07:53 UTC
[unomi] branch replaceTailDockerProcess created (now 0173a02)
This is an automated email from the ASF dual-hosted git repository.
jkevan pushed a change to branch replaceTailDockerProcess
in repository https://gitbox.apache.org/repos/asf/unomi.git.
at 0173a02 UNOMI-511: replace tail usage to run karaf process in docker instance by karaf process itself
This branch includes the following new commits:
new 0173a02 UNOMI-511: replace tail usage to run karaf process in docker instance by karaf process itself
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[unomi] 01/01: UNOMI-511: replace tail usage to run karaf process in docker instance by karaf process itself
Posted by jk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jkevan pushed a commit to branch replaceTailDockerProcess
in repository https://gitbox.apache.org/repos/asf/unomi.git
commit 0173a02fff1f1d9ed3052c5fcbb17f406aeea63c
Author: Kevan <ke...@jahia.com>
AuthorDate: Tue Jan 25 16:07:39 2022 +0100
UNOMI-511: replace tail usage to run karaf process in docker instance by karaf process itself
---
docker/src/main/docker/entrypoint.sh | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/docker/src/main/docker/entrypoint.sh b/docker/src/main/docker/entrypoint.sh
index 8ffbadd..82b2a97 100755
--- a/docker/src/main/docker/entrypoint.sh
+++ b/docker/src/main/docker/entrypoint.sh
@@ -33,7 +33,5 @@ until ([ "$health_check" = 'yellow' ] || [ "$health_check" = 'green' ]); do
sleep 1
done
-$UNOMI_HOME/bin/start
-$UNOMI_HOME/bin/status # Call to status delays while Karaf creates karaf.log
-
-tail -f $UNOMI_HOME/data/log/karaf.log
+# Run Unomi in current bash session, if jCustomer crash or shutdown the container will stop
+$UNOMI_HOME/bin/karaf run
\ No newline at end of file