feat: add sigterm support (#2472)

This commit is contained in:
Meier Lukas
2025-03-02 20:28:11 +01:00
committed by GitHub
parent 7dfb108a56
commit a5e0e8c129
3 changed files with 28 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ if [ "${PUID}" != "0" ] || [ "${PGID}" != "0" ]; then
fi
if [ "${PUID}" != "0" ]; then
su-exec $PUID:$PGID "$@"
exec su-exec $PUID:$PGID "$@"
else
exec "$@"
fi