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 <[email protected]> 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
