0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-02-04 01:09:14 -05:00

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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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