mirror of
https://github.com/mudler/LocalAI.git
synced 2026-03-29 04:02:31 -04:00
fix: use exec in entrypoint scripts to fix signal handling (#1943)
This commit is contained in:
@@ -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 "$@"
|
||||
|
||||
Reference in New Issue
Block a user