20 lines
439 B
Desktop File
20 lines
439 B
Desktop File
[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
|