fix(core): Use exec in docker images to forward signals correctly (#6732)

This commit is contained in:
Ali Afsharzadeh
2023-07-25 18:38:58 +03:30
committed by GitHub
parent 533b0bac13
commit ed9f86bb95

View File

@@ -1,8 +1,8 @@
#!/bin/sh
if [ "$#" -gt 0 ]; then
# Got started with arguments
n8n "$@"
exec n8n "$@"
else
# Got started without arguments
n8n
exec n8n
fi