🐛 Solve permission issue #1240 (#1262)

This commit is contained in:
LuPa 2020-12-19 19:04:20 -03:00 committed by GitHub
parent 59882efa92
commit 4a98fe48a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,8 @@ if [ -d /root/.n8n ] ; then
ln -s /root/.n8n /home/node/
fi
chown -R node /home/node
if [ "$#" -gt 0 ]; then
# Got started with arguments
exec su-exec node "$@"