feat: log SOURCE_REF immediately in container startup (#13405)

This change makes sure the ref should be in pretty much any log we might get sent, making it easier to catch people running the wrong version.
pull/13411/head
bo0tzz 2024-10-13 15:08:40 +07:00 committed by GitHub
parent 20b4d281bb
commit e183ff6feb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

@ -1,5 +1,7 @@
#!/usr/bin/env bash
echo "Initializing Immich $IMMICH_SOURCE_REF"
lib_path="/usr/lib/$(arch)-linux-gnu/libmimalloc.so.2"
export LD_PRELOAD="$lib_path"