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
- 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
16 lines
356 B
Desktop File
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
|