1
This commit is contained in:
19
agent58k/qwen-agent.service
Normal file
19
agent58k/qwen-agent.service
Normal file
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Qwen Agent MCP Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=%YOUR_USERNAME%
|
||||
WorkingDirectory=%HOME%/agent58k
|
||||
Environment="PATH=%HOME%/agent58k/venv/bin:/usr/local/bin:/usr/bin:/bin"
|
||||
ExecStart=%HOME%/agent58k/venv/bin/python server.py
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
|
||||
# Logging
|
||||
StandardOutput=append:/var/log/qwen-agent.log
|
||||
StandardError=append:/var/log/qwen-agent-error.log
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user