Change blockchain node and RPC services to use venv Python interpreter and update node service entry point
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled

- Update aitbc-blockchain-node.service ExecStart from blockchain_simple.py to aitbc_chain.combined_main module
- Update aitbc-blockchain-rpc.service ExecStart from /usr/bin/python3 to /opt/aitbc/venv/bin/python
- Ensures both services use virtual environment Python interpreter for consistency
This commit is contained in:
aitbc
2026-04-15 08:46:16 +02:00
parent ad50f1fede
commit 984a5f7c9a
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ Environment=PYTHONPATH=/opt/aitbc/services
EnvironmentFile=/etc/aitbc/production.env
# Production execution
ExecStart=/opt/aitbc/venv/bin/python /opt/aitbc/services/blockchain_simple.py
ExecStart=/opt/aitbc/venv/bin/python -m aitbc_chain.combined_main
ExecReload=/bin/kill -HUP $MAINPID
KillMode=mixed
TimeoutStopSec=10