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.
This commit is contained in:
bo0tzz
2024-10-13 15:08:40 +02:00
committed by GitHub
parent 20b4d281bb
commit e183ff6feb

View File

@@ -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"