mirror of https://github.com/mudler/LocalAI.git
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…
Reference in New Issue