From 1e239645c64e8ae67a00091c0010997436a061ab Mon Sep 17 00:00:00 2001 From: Louis Date: Fri, 22 Dec 2023 08:41:19 +0000 Subject: [PATCH] run engine using nohup --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 1d4fbeb28..d38dd8ff1 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -8,7 +8,7 @@ }, "forwardPorts": [8080], "postCreateCommand": "mvn package --batch-mode -Dmaven.test.skip=true -Divy.engine.directory=/usr/lib/axonivy-engine", - "postStartCommand": "/usr/lib/axonivy-engine/bin/AxonIvyEngine", + "postStartCommand": "mkdir -p logs && rm -f logs/eninge-nohup.out && nohup bash -c '/usr/lib/axonivy-engine/bin/AxonIvyEngine &'> logs/engine-nohup.out", "features": { "ghcr.io/devcontainers/features/java:1": { "version": "17",