-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsupervisor.llm-factory.conf
More file actions
30 lines (29 loc) 路 1.11 KB
/
Copy pathsupervisor.llm-factory.conf
File metadata and controls
30 lines (29 loc) 路 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# OLLAMA PROCESSES
[program:llm-server]
environment=HOME="%(ENV_HOME)s",USER="%(ENV_USER)s"
autorestart=true
priority=800
user=%(ENV_USER)s
redirect_stderr=true
command=bash %(ENV_CODX_JUNIOR_PATH)s/scripts/run_llmFactory.sh
stdout_logfile=%(ENV_CODX_SUPERVISOR_LOG_FOLDER)s/llm-server.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=7
[program:codx-junior-llm-factory]
environment=HOME="/home/codx-junior",
USER="codx-junior",
DEBUG="%(ENV_DEBUG)s",
CODX_JUNIOR_LLMFACTORY_URL="%(ENV_CODX_JUNIOR_LLMFACTORY_URL)s",
CODX_JUNIOR_API_PORT_BACKGROUND="%(ENV_CODX_JUNIOR_API_PORT_BACKGROUND)s",
CODX_JUNIOR_GLOBAL_SETTINGS_PATH="%(ENV_CODX_JUNIOR_GLOBAL_SETTINGS_PATH)s",
CODX_JUNIOR_API_BACKGROUND="1",
CODX_JUNIOR_MILVUS_URL="%(ENV_CODX_JUNIOR_MILVUS_URL)s"
autorestart=true
priority=300
user=codx-junior
redirect_stderr=true
directory=%(ENV_CODX_JUNIOR_PATH)s
command=bash %(ENV_CODX_JUNIOR_PATH)s/scripts/run_api.sh
stdout_logfile=%(ENV_CODX_SUPERVISOR_LOG_FOLDER)s/codx-junior-llm-factory.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=7