mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 02:24:59 +00:00
fix: use exec in entrypoint scripts to fix signal handling (#1943)
This commit is contained in:
parent
e8f02c083f
commit
86bc5f1350
2 changed files with 2 additions and 2 deletions
|
@ -135,4 +135,4 @@ check_vars
|
|||
|
||||
echo "===> Starting LocalAI[$PROFILE] with the following models: $MODELS"
|
||||
|
||||
/build/entrypoint.sh "$@"
|
||||
exec /build/entrypoint.sh "$@"
|
||||
|
|
|
@ -47,4 +47,4 @@ else
|
|||
echo "@@@@@"
|
||||
fi
|
||||
|
||||
./local-ai "$@"
|
||||
exec ./local-ai "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue