Files
aitbc/systemd/aitbc-openclaw.service
aitbc 0ce9681e09
Some checks failed
Deploy to Testnet / deploy-testnet (push) Failing after 14s
Deploy to Testnet / notify-deployment (push) Has been cancelled
Systemd Sync / sync-systemd (push) Has been cancelled
Node Failover Simulation / failover-test (push) Successful in 14s
Multi-Node Stress Testing / stress-test (push) Successful in 4s
Cross-Node Transaction Testing / transaction-test (push) Successful in 13s
Update OpenClaw service systemd unit to use Poetry run command instead of direct virtualenv path
- Changed ExecStart from hardcoded virtualenv path to `poetry run python -m openclaw_service.main`
- This makes the service more portable and resilient to virtualenv path changes
2026-04-30 17:04:37 +02:00

16 lines
356 B
Desktop File

[Unit]
Description=AITBC OpenClaw Service
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/opt/aitbc/apps/openclaw-service
Environment="PYTHONPATH=/opt/aitbc/apps/openclaw-service/src:/opt/aitbc"
ExecStart=/root/.local/bin/poetry run python -m openclaw_service.main
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target