Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix: Fix the path to worker binary post-build

MohamedBassembd5d9b99dd09
diff --git a/docker/root/etc/s6-overlay/s6-rc.d/svc-workers/run b/docker/root/etc/s6-overlay/s6-rc.d/svc-workers/run
index 1acc5b17..220f2e9b 100644
--- a/docker/root/etc/s6-overlay/s6-rc.d/svc-workers/run
+++ b/docker/root/etc/s6-overlay/s6-rc.d/svc-workers/run
@@ -2,4 +2,4 @@
# shellcheck shell=bash
cd /app/apps/workers;
-exec node dist/index.mjs
+exec node dist/index.js
diff --git a/karakeep-linux.sh b/karakeep-linux.sh
index 545e0219..ef2ff03a 100644
--- a/karakeep-linux.sh
+++ b/karakeep-linux.sh
@@ -343,7 +343,7 @@ Group=karakeep
Restart=always
EnvironmentFile=${ENV_FILE}
WorkingDirectory=${APP_DIR}/workers
-ExecStart=/usr/bin/node dist/index.mjs
+ExecStart=/usr/bin/node dist/index.js
StandardOutput=append:${LOG_DIR}/karakeep-workers.log
StandardError=append:${LOG_DIR}/karakeep-workers.log
TimeoutStopSec=5