From 8efbb8819b8afbcc2374857f8b9c652eafab0d6c Mon Sep 17 00:00:00 2001 From: Christian Barcenas Date: Tue, 24 Feb 2026 00:22:49 +0100 Subject: [PATCH] fix(server): use exec in launcher script --- apps/server/scripts/build-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/scripts/build-server.sh b/apps/server/scripts/build-server.sh index 6396b314bd..d828f65e18 100644 --- a/apps/server/scripts/build-server.sh +++ b/apps/server/scripts/build-server.sh @@ -43,7 +43,7 @@ rm -rf $BUILD_DIR/node/lib/node_modules/{npm,corepack} \ $BUILD_DIR/node_modules/electron* \ $BUILD_DIR/electron*.{js,map} -printf "#!/bin/sh\n./node/bin/node main.cjs\n" > $BUILD_DIR/trilium.sh +printf "#!/bin/sh\nexec ./node/bin/node main.cjs\n" > $BUILD_DIR/trilium.sh chmod 755 $BUILD_DIR/trilium.sh VERSION=`jq -r ".version" package.json`