SammySnake commited on
Commit
cea6a3f
·
verified ·
1 Parent(s): 0e0e92d

Update supervisord.conf

Browse files
Files changed (1) hide show
  1. supervisord.conf +4 -6
supervisord.conf CHANGED
@@ -5,8 +5,8 @@ logfile_maxbytes=0
5
  pidfile=/tmp/supervisord.pid
6
 
7
  [program:apiserver]
8
- command=/app/unla apiserver
9
- directory=/app
10
  stdout_logfile=/dev/stdout
11
  stdout_logfile_maxbytes=0
12
  stderr_logfile=/dev/stderr
@@ -15,9 +15,8 @@ autostart=true
15
  autorestart=true
16
  startsecs=10
17
 
18
-
19
  [program:mcp_gateway]
20
- command=/app/unla mcp-gateway
21
  directory=/app
22
  stdout_logfile=/dev/stdout
23
  stdout_logfile_maxbytes=0
@@ -27,9 +26,8 @@ autostart=true
27
  autorestart=true
28
  startsecs=10
29
 
30
-
31
  [program:mcp_gateway_ws]
32
- command=/app/unla mcp-gateway-ws
33
  directory=/app
34
  stdout_logfile=/dev/stdout
35
  stdout_logfile_maxbytes=0
 
5
  pidfile=/tmp/supervisord.pid
6
 
7
  [program:apiserver]
8
+ command=/usr/local/bin/unla apiserver # <-- 路径已修改
9
+ directory=/app # 保持 /app 作为工作目录,因为配置文件和数据可能在这里
10
  stdout_logfile=/dev/stdout
11
  stdout_logfile_maxbytes=0
12
  stderr_logfile=/dev/stderr
 
15
  autorestart=true
16
  startsecs=10
17
 
 
18
  [program:mcp_gateway]
19
+ command=/usr/local/bin/unla mcp-gateway # <-- 路径已修改
20
  directory=/app
21
  stdout_logfile=/dev/stdout
22
  stdout_logfile_maxbytes=0
 
26
  autorestart=true
27
  startsecs=10
28
 
 
29
  [program:mcp_gateway_ws]
30
+ command=/usr/local/bin/unla mcp-gateway-ws # <-- 路径已修改
31
  directory=/app
32
  stdout_logfile=/dev/stdout
33
  stdout_logfile_maxbytes=0