mirror of
https://github.com/YunoHost-Apps/overleaf_ynh.git
synced 2024-09-03 19:56:27 +02:00
fix services?
This commit is contained in:
parent
8b8909cf20
commit
e8384c2219
12 changed files with 14 additions and 1 deletions
|
@ -8,6 +8,7 @@ User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
EnvironmentFile=__INSTALL_DIR__/variables.env
|
EnvironmentFile=__INSTALL_DIR__/variables.env
|
||||||
|
Environment="CHAT_HOST=127.0.0.1"
|
||||||
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
||||||
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/chat/app.js
|
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/chat/app.js
|
||||||
StandardOutput=append:/var/log/__APP__/chat.log
|
StandardOutput=append:/var/log/__APP__/chat.log
|
||||||
|
|
|
@ -8,6 +8,7 @@ User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
EnvironmentFile=__INSTALL_DIR__/variables.env
|
EnvironmentFile=__INSTALL_DIR__/variables.env
|
||||||
|
Environment="CLSI_HOST=127.0.0.1"
|
||||||
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
||||||
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/clsi/app.js
|
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/clsi/app.js
|
||||||
StandardOutput=append:/var/log/__APP__/clsi.log
|
StandardOutput=append:/var/log/__APP__/clsi.log
|
||||||
|
|
|
@ -8,6 +8,7 @@ User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
EnvironmentFile=__INSTALL_DIR__/variables.env
|
EnvironmentFile=__INSTALL_DIR__/variables.env
|
||||||
|
Environment="CONTACTS_HOST=127.0.0.1"
|
||||||
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
||||||
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/contacts/app.js
|
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/contacts/app.js
|
||||||
StandardOutput=append:/var/log/__APP__/contacts.log
|
StandardOutput=append:/var/log/__APP__/contacts.log
|
||||||
|
|
|
@ -8,6 +8,7 @@ User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
EnvironmentFile=__INSTALL_DIR__/variables.env
|
EnvironmentFile=__INSTALL_DIR__/variables.env
|
||||||
|
Environment="DOCSTORE_HOST=127.0.0.1"
|
||||||
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
||||||
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/docstore/app.js
|
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/docstore/app.js
|
||||||
StandardOutput=append:/var/log/__APP__/docstore.log
|
StandardOutput=append:/var/log/__APP__/docstore.log
|
||||||
|
|
|
@ -8,6 +8,8 @@ User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
EnvironmentFile=__INSTALL_DIR__/variables.env
|
EnvironmentFile=__INSTALL_DIR__/variables.env
|
||||||
|
Environment="DOCUMENT_UPDATER_HOST=127.0.0.1"
|
||||||
|
Environment="DOCUPDATER_HOST=127.0.0.1"
|
||||||
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
||||||
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/document-updater/app.js
|
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/document-updater/app.js
|
||||||
StandardOutput=append:/var/log/__APP__/document-updater.log
|
StandardOutput=append:/var/log/__APP__/document-updater.log
|
||||||
|
|
|
@ -8,6 +8,7 @@ User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
EnvironmentFile=__INSTALL_DIR__/variables.env
|
EnvironmentFile=__INSTALL_DIR__/variables.env
|
||||||
|
Environment="FILESTORE_HOST=127.0.0.1"
|
||||||
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
||||||
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/filestore/app.js
|
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/filestore/app.js
|
||||||
StandardOutput=append:/var/log/__APP__/filestore.log
|
StandardOutput=append:/var/log/__APP__/filestore.log
|
||||||
|
|
|
@ -8,6 +8,7 @@ User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
EnvironmentFile=__INSTALL_DIR__/variables.env
|
EnvironmentFile=__INSTALL_DIR__/variables.env
|
||||||
|
Environment="HISTORY_V1_HOST=127.0.0.1"
|
||||||
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
||||||
Environment="NODE_CONFIG_DIR=__INSTALL_DIR__/live/services/history-v1/config"
|
Environment="NODE_CONFIG_DIR=__INSTALL_DIR__/live/services/history-v1/config"
|
||||||
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/history-v1/app.js
|
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/history-v1/app.js
|
||||||
|
|
|
@ -8,6 +8,7 @@ User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
EnvironmentFile=__INSTALL_DIR__/variables.env
|
EnvironmentFile=__INSTALL_DIR__/variables.env
|
||||||
|
Environment="NOTIFICATIONS_HOST=127.0.0.1"
|
||||||
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
||||||
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/notifications/app.js
|
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/notifications/app.js
|
||||||
StandardOutput=append:/var/log/__APP__/notifications.log
|
StandardOutput=append:/var/log/__APP__/notifications.log
|
||||||
|
|
|
@ -8,6 +8,7 @@ User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
EnvironmentFile=__INSTALL_DIR__/variables.env
|
EnvironmentFile=__INSTALL_DIR__/variables.env
|
||||||
|
Environment="PROJECT_HISTORY_HOST=127.0.0.1"
|
||||||
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
||||||
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/project-history/app.js
|
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/project-history/app.js
|
||||||
StandardOutput=append:/var/log/__APP__/project-history.log
|
StandardOutput=append:/var/log/__APP__/project-history.log
|
||||||
|
|
|
@ -7,6 +7,7 @@ Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
|
Environment="REALTIME_HOST=127.0.0.1"
|
||||||
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
||||||
EnvironmentFile=__INSTALL_DIR__/variables.env
|
EnvironmentFile=__INSTALL_DIR__/variables.env
|
||||||
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/real-time/app.js
|
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/real-time/app.js
|
||||||
|
|
|
@ -7,6 +7,7 @@ Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
|
Environment="SPELLING_HOST=127.0.0.1"
|
||||||
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
||||||
EnvironmentFile=__INSTALL_DIR__/variables.env
|
EnvironmentFile=__INSTALL_DIR__/variables.env
|
||||||
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/spelling/app.js
|
ExecStart=__YNH_NODE__ __INSTALL_DIR__/live/services/spelling/app.js
|
||||||
|
|
|
@ -7,7 +7,8 @@ Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
Environment="LISTEN_ADDRESS=127.0.0.1"
|
Environment="WEB_HOST=127.0.0.1"
|
||||||
|
Environment="WEB_API_HOST=127.0.0.1"
|
||||||
Environment="WEB_PORT=__PORT__"
|
Environment="WEB_PORT=__PORT__"
|
||||||
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
Environment="MONGO_CONNECTION_STRING=mongodb://127.0.0.1:27017/__DB_NAME__"
|
||||||
EnvironmentFile=__INSTALL_DIR__/variables.env
|
EnvironmentFile=__INSTALL_DIR__/variables.env
|
||||||
|
|
Loading…
Reference in a new issue