chore: 更新部署配置指向安装目录

- cwd: ~/.sanguo_projects/sanguo_llmwiki (安装目录)
- script: python3 (明确使用 python3)
- WIKI_INDEX_PATH: 使用绝对路径

Co-Authored-By: Claude Dev <noreply@anthropic.com>
This commit is contained in:
2026-06-26 12:35:14 +08:00
parent 850275a329
commit 5642fb4fa3
+3 -3
View File
@@ -1,9 +1,9 @@
module.exports = { module.exports = {
apps: [{ apps: [{
name: 'wiki-mcp', name: 'wiki-mcp',
script: 'python', script: 'python3',
args: '-m mcp_server.main', args: '-m mcp_server.main',
cwd: '/Users/chufeng/.openclaw/sanguo_projects/sanguo_llmwiki', cwd: '/Users/chufeng/.sanguo_projects/sanguo_llmwiki', // 安装目录
instances: 1, instances: 1,
autorestart: true, autorestart: true,
watch: false, watch: false,
@@ -11,7 +11,7 @@ module.exports = {
env: { env: {
PYTHONUNBUFFERED: '1', PYTHONUNBUFFERED: '1',
WIKI_VAULT_PATH: '/Volumes/KnowledgeBase/wiki-vault', WIKI_VAULT_PATH: '/Volumes/KnowledgeBase/wiki-vault',
WIKI_INDEX_PATH: '~/.sanguo-llmwiki/index.db', WIKI_INDEX_PATH: '/Users/chufeng/.sanguo-llmwiki/index.db',
LOG_LEVEL: 'INFO' LOG_LEVEL: 'INFO'
} }
}] }]