You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
542 B
22 lines
542 B
|
4 weeks ago
|
[Unit]
|
||
|
|
Description=OpenClaw Gateway - {{AGENT_NAME}}
|
||
|
|
Documentation=https://docs.openclaw.ai
|
||
|
|
After=network.target
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
Type=simple
|
||
|
|
EnvironmentFile=-/root/.openclaw/workspace/systemd/{{AGENT_ID}}-gateway.env
|
||
|
|
WorkingDirectory=/root/.openclaw-{{AGENT_ID}}
|
||
|
|
ExecStart=/www/server/nodejs/v24.13.1/bin/openclaw --profile {{AGENT_ID}} gateway
|
||
|
|
Restart=always
|
||
|
|
RestartSec=10s
|
||
|
|
MemoryMax=1G
|
||
|
|
CPUQuota=50%
|
||
|
|
TimeoutStopSec=30s
|
||
|
|
StandardOutput=journal
|
||
|
|
StandardError=journal
|
||
|
|
SyslogIdentifier=openclaw-gateway-{{AGENT_ID}}
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=default.target
|