mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-04 17:52:53 +00:00
fix: use exec in entrypoint scripts to fix signal handling (#1943)
This commit is contained in:
parent
e8f02c083f
commit
86bc5f1350
@ -135,4 +135,4 @@ check_vars
|
|||||||
|
|
||||||
echo "===> Starting LocalAI[$PROFILE] with the following models: $MODELS"
|
echo "===> Starting LocalAI[$PROFILE] with the following models: $MODELS"
|
||||||
|
|
||||||
/build/entrypoint.sh "$@"
|
exec /build/entrypoint.sh "$@"
|
||||||
|
@ -47,4 +47,4 @@ else
|
|||||||
echo "@@@@@"
|
echo "@@@@@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./local-ai "$@"
|
exec ./local-ai "$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user