chore(cleanup): remove obsolete scripts and update paths for production deployment
- Remove dev/scripts/check-file-organization.sh (obsolete organization checker) - Remove dev/scripts/community_onboarding.py (unused 559-line automation script) - Update gpu_miner_host.py log path from /home/oib/windsurf/aitbc to /opt/aitbc - Add service status and standardization badges to README.md
This commit is contained in:
@@ -1,20 +1,19 @@
|
||||
[Unit]
|
||||
Description=AITBC Blockchain Explorer UI
|
||||
After=network.target aitbc-blockchain-rpc-1.service aitbc-blockchain-rpc-2.service
|
||||
After=network.target aitbc-blockchain-rpc.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
User=aitbc
|
||||
Group=aitbc
|
||||
WorkingDirectory=/opt/aitbc/apps/blockchain-explorer
|
||||
# Assuming we will use the venv from coordinator-api or blockchain-node as standard
|
||||
Environment=PATH=/opt/aitbc/apps/coordinator-api/.venv/bin:/usr/local/bin:/usr/bin:/bin
|
||||
# Need to make sure fastapi and uvicorn are available
|
||||
Environment=PYTHONPATH=/opt/aitbc/apps/blockchain-explorer
|
||||
ExecStart=/opt/aitbc/apps/coordinator-api/.venv/bin/python main.py
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
# Adjust logging
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=aitbc-explorer
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in New Issue
Block a user