uses non-root user

This commit is contained in:
Michael Hirschler
2020-02-05 21:28:47 +01:00
parent 56c8d4688f
commit fb1424cd4e
4 changed files with 24 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/sh
if [ -d /root/.n8n ] ; then
chmod o+rx /root
chown -R node /root/.n8n
ln -s /root/.n8n /home/node/
fi
exec su-exec node n8n