Files
Automata/docker/images/n8n/docker-entrypoint.sh
2020-02-07 23:48:05 -08:00

11 lines
179 B
Bash
Executable File

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