Revert systemd ExecStart paths to use central venv (/opt/aitbc/venv/bin/python)
All checks were successful
Systemd Sync / sync-systemd (push) Successful in 10s

This commit is contained in:
aitbc
2026-04-20 13:20:23 +02:00
parent 456ba8ce9b
commit 3d4300924e
4 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ EnvironmentFile=/etc/aitbc/node.env
Environment=PATH=/usr/bin:/usr/local/bin:/usr/bin:/bin
Environment=PYTHONPATH=/opt/aitbc/apps/blockchain-node/src:/opt/aitbc/apps/blockchain-node/scripts
UnsetEnvironment=enable_block_production ENABLE_BLOCK_PRODUCTION
ExecStart=/usr/bin/env enable_block_production=false /opt/aitbc/apps/blockchain-node/.venv/bin/python -m uvicorn aitbc_chain.app:app --host ${rpc_bind_host} --port ${rpc_bind_port}
ExecStart=/usr/bin/env enable_block_production=false /opt/aitbc/venv/bin/python -m uvicorn aitbc_chain.app:app --host ${rpc_bind_host} --port ${rpc_bind_port}
Restart=always
RestartSec=5
StandardOutput=journal