Skip to content

Commit

Permalink
fix: breaking change (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
martabal authored Oct 7, 2024
1 parent 97d3e05 commit 1bf5ac3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions root/etc/s6-overlay/s6-rc.d/svc-microservices/run
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# shellcheck shell=bash

lib_path="/usr/lib/$(arch)-linux-gnu/libmimalloc.so.2"
export LD_PRELOAD="$lib_path"
export LD_PRELOAD="${lib_path}"
export IMMICH_WORKERS_INCLUDE="microservices"

: "${CPU_CORES:="$(/app/immich/server/scripts/get-cpus.sh)"}"
echo "Detected CPU Cores: ${CPU_CORES}"
Expand All @@ -12,4 +13,4 @@ fi

exec \
cd /app/immich/server s6-setuidgid abc \
node dist/main microservices || exit
node dist/main || exit
5 changes: 3 additions & 2 deletions root/etc/s6-overlay/s6-rc.d/svc-server/run
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

lib_path="/usr/lib/$(arch)-linux-gnu/libmimalloc.so.2"
export LD_PRELOAD="${lib_path}"
export IMMICH_WORKERS_INCLUDE="api"

exec \
s6-notifyoncheck -d -n 300 -w 5000 -c "nc -z localhost 8080" \
s6-notifyoncheck -d -n 300 -w 5000 -c "nc -z localhost ${IMMICH_PORT}" \
cd /app/immich/server s6-setuidgid abc \
node dist/main immich
node dist/main

0 comments on commit 1bf5ac3

Please sign in to comment.