[Unit]
Description=MoWeChat — 莫荷微信 Bot (Linux iLink 版)
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User=hmo
WorkingDirectory=/home/hmo/projects/AgentsMeeting/gateway/linux
ExecStart=/home/hmo/projects/AgentsMeeting/.venv/bin/python3 /home/hmo/projects/AgentsMeeting/gateway/linux/wechat_agent.py
Restart=on-failure
RestartSec=5
StandardOutput=append:/home/hmo/projects/AgentsMeeting/logs/wechat_agent_linux.log
StandardError=append:/home/hmo/projects/AgentsMeeting/logs/wechat_agent_linux.log

[Install]
WantedBy=multi-user.target
