n8n/docker/images/n8n-ubuntu/docker-entrypoint.sh

11 lines
176 B
Bash
Raw Normal View History

2020-02-05 12:28:47 -08:00
#!/bin/sh
if [ -d /root/.n8n ] ; then
chmod o+rx /root
chown -R node /root/.n8n
ln -s /root/.n8n /home/node/
fi
2020-02-07 23:48:05 -08:00
if [ "$#" -gt 0 ]; then shift; fi
exec gosu node n8n $@