mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
16 lines
386 B
Bash
Executable File
16 lines
386 B
Bash
Executable File
#!/bin/sh
|
|
if [ -d /opt/custom-certificates ]; then
|
|
echo "Trusting custom certificates from /opt/custom-certificates."
|
|
export NODE_OPTIONS="--use-openssl-ca $NODE_OPTIONS"
|
|
export SSL_CERT_DIR=/opt/custom-certificates
|
|
c_rehash /opt/custom-certificates
|
|
fi
|
|
|
|
if [ "$#" -gt 0 ]; then
|
|
# Got started with arguments
|
|
exec n8n "$@"
|
|
else
|
|
# Got started without arguments
|
|
exec n8n
|
|
fi
|