8f016f25df
- ORM migration: models/ops 重构 - deploy: 标准化 systemd timer/service 部署体系 - MCP server: 5 个只读工具(任务/状态/数据集) - daily check: 数据一致性巡检 - watch: task_watch 后台监控 - kline_daily: 麦蕊优先,时间门禁15:00 - 删除: task_industry_sector, task_sector_features
23 lines
677 B
Desktop File
23 lines
677 B
Desktop File
[Unit]
|
|
Description=market_sync MCP Server — Model Context Protocol for sync data
|
|
Documentation=file:///home/gao/Development/quant_home/market_sync/app/mcp_server.py
|
|
After=network-online.target postgres-container.service
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/home/gao/Development/quant_home/market_sync
|
|
User=gao
|
|
Group=gao
|
|
ExecStart=/home/gao/Development/quant_home/market_sync/.venv/bin/python -m app.mcp_server --sse --host 127.0.0.1 --port 8101
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
TimeoutStartSec=30
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=market-sync-mcp
|
|
Environment=PYTHONUNBUFFERED=1
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|