Update ExecStart path for karakeep service (#7460)

This commit is contained in:
Tobias 2025-09-07 21:18:46 +02:00 committed by GitHub
parent c790f03a6b
commit 59c8e214af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,6 +53,11 @@ function update_script() {
systemctl daemon-reload
fi
if grep -q '^ExecStart=/usr/bin/node\s\+dist/index\.mjs$' /etc/systemd/system/karakeep-workers.service; then
sed -i -E 's#^(ExecStart=/usr/bin/node\s+dist/)index\.mjs$#\1index.js#' /etc/systemd/system/karakeep-workers.service
systemctl daemon-reload
fi
fetch_and_deploy_gh_release "karakeep" "karakeep-app/karakeep"
if command -v corepack >/dev/null; then
$STD corepack disable