mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
[server-ce] use OVERLEAF_MONGO_URL in history-v1 GitOrigin-RevId: 0c3a25d237162f3ad249c0d7f1f508373ce90e51
10 lines
337 B
Bash
Executable File
10 lines
337 B
Bash
Executable File
#!/bin/bash
|
|
|
|
NODE_PARAMS=""
|
|
if [ "$DEBUG_NODE" == "true" ]; then
|
|
echo "running debug - history-v1"
|
|
NODE_PARAMS="--inspect=0.0.0.0:30640"
|
|
fi
|
|
|
|
NODE_CONFIG_DIR=/overleaf/services/history-v1/config exec /sbin/setuser www-data /usr/bin/node $NODE_PARAMS /overleaf/services/history-v1/app.js >> /var/log/sharelatex/history-v1.log 2>&1
|