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
All checks were successful
Systemd Sync / sync-systemd (push) Successful in 10s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user