From dc8737cbd703b814bffa8aec4c22b7a4e96b3114 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Wed, 7 Feb 2024 15:48:12 +0100 Subject: [PATCH] add env --- conf/overleaf-history-v1.service | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/overleaf-history-v1.service b/conf/overleaf-history-v1.service index b21b92c..76147ab 100644 --- a/conf/overleaf-history-v1.service +++ b/conf/overleaf-history-v1.service @@ -9,6 +9,7 @@ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ EnvironmentFile=__INSTALL_DIR__/variables.env Environment="MONGO_CONNECTION_STRING=$SHARELATEX_MONGO_URL" +Environment="NODE_CONFIG_DIR=__INSTALL_DIR__/services/history-v1/config" ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/history-v1/app.js StandardOutput=append:/var/log/__APP__/history-v1.log StandardError=inherit