mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
5b6e229c21
[CE/SP] Hotfix 5.0.2 / 4.2.4 GitOrigin-RevId: 2f9ce416b95a0124edb1a9cf35c2dfa94f6f4a19
118 lines
3.9 KiB
Diff
118 lines
3.9 KiB
Diff
--- chat-sharelatex/run
|
|
+++ chat-sharelatex/run
|
|
@@ -6,4 +6,7 @@ if [ "$DEBUG_NODE" == "true" ]; then
|
|
NODE_PARAMS="--inspect=0.0.0.0:30100"
|
|
fi
|
|
|
|
+source /etc/sharelatex/env.sh
|
|
+export LISTEN_ADDRESS=127.0.0.1
|
|
+
|
|
exec /sbin/setuser www-data /usr/bin/node $NODE_PARAMS /overleaf/services/chat/app.js >> /var/log/sharelatex/chat.log 2>&1
|
|
--- clsi-sharelatex/run
|
|
+++ clsi-sharelatex/run
|
|
@@ -15,4 +15,7 @@ if [ -e '/var/run/docker.sock' ]; then
|
|
usermod -aG dockeronhost www-data
|
|
fi
|
|
|
|
+source /etc/sharelatex/env.sh
|
|
+export LISTEN_ADDRESS=127.0.0.1
|
|
+
|
|
exec /sbin/setuser www-data /usr/bin/node $NODE_PARAMS /overleaf/services/clsi/app.js >> /var/log/sharelatex/clsi.log 2>&1
|
|
--- contacts-sharelatex/run
|
|
+++ contacts-sharelatex/run
|
|
@@ -6,4 +6,7 @@ if [ "$DEBUG_NODE" == "true" ]; then
|
|
NODE_PARAMS="--inspect=0.0.0.0:30360"
|
|
fi
|
|
|
|
+source /etc/sharelatex/env.sh
|
|
+export LISTEN_ADDRESS=127.0.0.1
|
|
+
|
|
exec /sbin/setuser www-data /usr/bin/node $NODE_PARAMS /overleaf/services/contacts/app.js >> /var/log/sharelatex/contacts.log 2>&1
|
|
--- docstore-sharelatex/run
|
|
+++ docstore-sharelatex/run
|
|
@@ -6,4 +6,7 @@ if [ "$DEBUG_NODE" == "true" ]; then
|
|
NODE_PARAMS="--inspect=0.0.0.0:30160"
|
|
fi
|
|
|
|
+source /etc/sharelatex/env.sh
|
|
+export LISTEN_ADDRESS=127.0.0.1
|
|
+
|
|
exec /sbin/setuser www-data /usr/bin/node $NODE_PARAMS /overleaf/services/docstore/app.js >> /var/log/sharelatex/docstore.log 2>&1
|
|
--- document-updater-sharelatex/run
|
|
+++ document-updater-sharelatex/run
|
|
@@ -6,4 +6,7 @@ if [ "$DEBUG_NODE" == "true" ]; then
|
|
NODE_PARAMS="--inspect=0.0.0.0:30030"
|
|
fi
|
|
|
|
+source /etc/sharelatex/env.sh
|
|
+export LISTEN_ADDRESS=127.0.0.1
|
|
+
|
|
exec /sbin/setuser www-data /usr/bin/node $NODE_PARAMS /overleaf/services/document-updater/app.js >> /var/log/sharelatex/document-updater.log 2>&1
|
|
--- filestore-sharelatex/run
|
|
+++ filestore-sharelatex/run
|
|
@@ -1,2 +1,6 @@
|
|
#!/bin/bash
|
|
+
|
|
+source /etc/sharelatex/env.sh
|
|
+export LISTEN_ADDRESS=127.0.0.1
|
|
+
|
|
exec /sbin/setuser www-data /usr/bin/node /overleaf/services/filestore/app.js >> /var/log/sharelatex/filestore.log 2>&1
|
|
--- notifications-sharelatex/run
|
|
+++ notifications-sharelatex/run
|
|
@@ -6,4 +6,7 @@ if [ "$DEBUG_NODE" == "true" ]; then
|
|
NODE_PARAMS="--inspect=0.0.0.0:30420"
|
|
fi
|
|
|
|
+source /etc/sharelatex/env.sh
|
|
+export LISTEN_ADDRESS=127.0.0.1
|
|
+
|
|
exec /sbin/setuser www-data /usr/bin/node $NODE_PARAMS /overleaf/services/notifications/app.js >> /var/log/sharelatex/notifications.log 2>&1
|
|
--- project-history-sharelatex/run
|
|
+++ project-history-sharelatex/run
|
|
@@ -6,4 +6,7 @@ if [ "$DEBUG_NODE" == "true" ]; then
|
|
NODE_PARAMS="--inspect=0.0.0.0:30540"
|
|
fi
|
|
|
|
+source /etc/sharelatex/env.sh
|
|
+export LISTEN_ADDRESS=127.0.0.1
|
|
+
|
|
exec /sbin/setuser www-data /usr/bin/node $NODE_PARAMS /overleaf/services/project-history/app.js >> /var/log/sharelatex/project-history.log 2>&1
|
|
--- real-time-sharelatex/run
|
|
+++ real-time-sharelatex/run
|
|
@@ -1,2 +1,6 @@
|
|
#!/bin/bash
|
|
+
|
|
+source /etc/sharelatex/env.sh
|
|
+export LISTEN_ADDRESS=127.0.0.1
|
|
+
|
|
exec /sbin/setuser www-data /usr/bin/node /overleaf/services/real-time/app.js >> /var/log/sharelatex/real-time.log 2>&1
|
|
--- spelling-sharelatex/run
|
|
+++ spelling-sharelatex/run
|
|
@@ -6,4 +6,7 @@ if [ "$DEBUG_NODE" == "true" ]; then
|
|
NODE_PARAMS="--inspect=0.0.0.0:30050"
|
|
fi
|
|
|
|
+source /etc/sharelatex/env.sh
|
|
+export LISTEN_ADDRESS=127.0.0.1
|
|
+
|
|
exec /sbin/setuser www-data /usr/bin/node $NODE_PARAMS /overleaf/services/spelling/app.js >> /var/log/sharelatex/spelling.log 2>&1
|
|
--- web-api-sharelatex/run
|
|
+++ web-api-sharelatex/run
|
|
@@ -6,6 +6,7 @@ if [ "$DEBUG_NODE" == "true" ]; then
|
|
NODE_PARAMS="--inspect=0.0.0.0:30000"
|
|
fi
|
|
|
|
+source /etc/sharelatex/env.sh
|
|
export LISTEN_ADDRESS=0.0.0.0
|
|
export ENABLED_SERVICES="api"
|
|
export METRICS_APP_NAME="web-api"
|
|
--- web-sharelatex/run
|
|
+++ web-sharelatex/run
|
|
@@ -6,6 +6,8 @@ if [ "$DEBUG_NODE" == "true" ]; then
|
|
NODE_PARAMS="--inspect=0.0.0.0:40000"
|
|
fi
|
|
|
|
+source /etc/sharelatex/env.sh
|
|
+export LISTEN_ADDRESS=127.0.0.1
|
|
export ENABLED_SERVICES="web"
|
|
export WEB_PORT="4000"
|