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 authored and GitHub committed 2024-10-13 09:08:40 -04:00
1 parent 20b4d281bb
commit e183ff6feb
1 file changed
+2
+2
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"