refactor: rename OpenClaw service from enhanced to standard name

OpenClaw Service Renaming - Complete:
 OPENCLAW SERVICE RENAMED: Changed aitbc-openclaw-enhanced.service to aitbc-openclaw.service
- systemd/aitbc-openclaw-enhanced.service: Renamed to aitbc-openclaw.service
- systemd/aitbc-openclaw-enhanced.service.d: Renamed to aitbc-openclaw.service.d
- setup.sh: Updated all references to use aitbc-openclaw.service
- Documentation: Updated all references to use new service name

 RENAMING RATIONALE:
🎯 Simplification: Standard service naming convention
📝 Clarity: Removed 'enhanced' suffix for cleaner naming
🔧 Consistency: Matches other service naming patterns
🎨 Standardization: All services follow aitbc-{name}.service pattern

 SETUP SCRIPT UPDATES:
📦 install_services(): Updated services array
🚀 start_services(): Updated systemctl start command
🔄 setup_autostart(): Updated systemctl enable command
📋 Status Check: Updated systemctl is-active check

 DOCUMENTATION UPDATES:
📚 documented_AITBC_Enhanced_Services__8010-8016__Implementation.md: Updated service path
📚 beginner/02_project/aitbc.md: Updated systemctl commands
📚 enhanced-services-implementation-complete.md: Updated service reference
📚 enhanced-services-deployment-completed-2026-02-24.md: Updated service description

 SERVICE CONFIGURATION:
📁 systemd/aitbc-openclaw.service: Main service file (renamed)
📁 systemd/aitbc-openclaw.service.d: Configuration directory (renamed)
⚙️ 10-central-env.conf: EnvironmentFile configuration
🔧 Port 8007: OpenClaw API service on port 8007

 CODEBASE REWIRED:
🔧 All systemctl commands: Updated to use new service name
📋 All service arrays: Updated in setup script
📚 All documentation: Updated to reference new name
🎯 All references: Consistent naming throughout codebase

 SERVICE FUNCTIONALITY:
🚀 Port 8007: OpenClaw agent orchestration service
🎯 Agent Integration: Agent orchestration and edge computing
📦 FastAPI: Built with uvicorn FastAPI framework
🔒 Security: Comprehensive systemd security settings
👤 Integration: Integrated with coordinator API

 COMPLETE SERVICE LIST (UPDATED):
🔧 aitbc-wallet.service: Wallet management
🔧 aitbc-coordinator-api.service: Coordinator API
🔧 aitbc-exchange-api.service: Exchange API
🔧 aitbc-blockchain-node.service: Blockchain node
🔧 aitbc-blockchain-rpc.service: Blockchain RPC
🔧 aitbc-multimodal-gpu.service: GPU multimodal
🔧 aitbc-marketplace.service: Marketplace
🔧 aitbc-openclaw.service: OpenClaw orchestration (RENAMED)
🔧 aitbc-advanced-ai.service: Advanced AI
🔧 aitbc-adaptive-learning.service: Adaptive learning

RESULT: Successfully renamed OpenClaw service to standard naming convention and updated entire codebase to use new name, providing cleaner and more consistent service management across all AITBC services.
This commit is contained in:
2026-03-30 17:52:03 +02:00
parent 4f0743adf4
commit a2216881bd
7 changed files with 8 additions and 8 deletions

View File

@@ -49,7 +49,7 @@ This document provides comprehensive technical documentation for aitbc enhanced
/etc/systemd/system/aitbc-modality-optimization.service # Port 8012
/etc/systemd/system/aitbc-adaptive-learning.service # Port 8013
/etc/systemd/system/aitbc-marketplace.service # Port 8014
/etc/systemd/system/aitbc-openclaw-enhanced.service # Port 8015
/etc/systemd/system/aitbc-openclaw.service # Port 8015
/etc/systemd/system/aitbc-web-ui.service # Port 8016
```

View File

@@ -263,7 +263,7 @@ systemctl enable aitbc-multimodal.service
systemctl enable aitbc-modality-optimization.service
systemctl enable aitbc-adaptive-learning.service
systemctl enable aitbc-marketplace.service
systemctl enable aitbc-openclaw-enhanced.service
systemctl enable aitbc-openclaw.service
systemctl enable aitbc-loadbalancer-geo.service
```

View File

@@ -77,7 +77,7 @@
/etc/systemd/system/aitbc-modality-optimization.service # Port 8012
/etc/systemd/system/aitbc-adaptive-learning.service # Port 8013
/etc/systemd/system/aitbc-marketplace-enhanced.service # Port 8014
/etc/systemd/system/aitbc-openclaw-enhanced.service # Port 8015
/etc/systemd/system/aitbc-openclaw.service # Port 8015
/etc/systemd/system/aitbc-web-ui.service # Port 8016
```

View File

@@ -86,7 +86,7 @@ Successfully deployed the complete enhanced services suite for advanced AI agent
- `aitbc-modality-optimization.service` - Modality optimization service
- `aitbc-adaptive-learning.service` - Adaptive learning service
- `aitbc-marketplace-enhanced.service` - Enhanced marketplace service
- `aitbc-openclaw-enhanced.service` - OpenClaw enhanced service
- `aitbc-openclaw.service` - OpenClaw service
### Test Files
- `test_multimodal_agent.py` - Comprehensive multi-modal tests (26KB)

View File

@@ -166,7 +166,7 @@ install_services() {
"aitbc-blockchain-rpc.service"
"aitbc-multimodal-gpu.service"
"aitbc-marketplace.service"
"aitbc-openclaw-enhanced.service"
"aitbc-openclaw.service"
"aitbc-advanced-ai.service"
"aitbc-adaptive-learning.service"
)
@@ -244,12 +244,12 @@ start_services() {
log "Starting AITBC services..."
# Try systemd first
if systemctl start aitbc-wallet aitbc-coordinator-api aitbc-exchange-api aitbc-blockchain-node aitbc-blockchain-rpc aitbc-multimodal-gpu aitbc-marketplace aitbc-openclaw-enhanced aitbc-advanced-ai aitbc-adaptive-learning 2>/dev/null; then
if systemctl start aitbc-wallet aitbc-coordinator-api aitbc-exchange-api aitbc-blockchain-node aitbc-blockchain-rpc aitbc-multimodal-gpu aitbc-marketplace aitbc-openclaw aitbc-advanced-ai aitbc-adaptive-learning 2>/dev/null; then
log "Services started via systemd"
sleep 5
# Check if services are running
if systemctl is-active --quiet aitbc-wallet aitbc-coordinator-api aitbc-exchange-api aitbc-blockchain-node aitbc-blockchain-rpc aitbc-multimodal-gpu aitbc-marketplace aitbc-openclaw-enhanced aitbc-advanced-ai aitbc-adaptive-learning; then
if systemctl is-active --quiet aitbc-wallet aitbc-coordinator-api aitbc-exchange-api aitbc-blockchain-node aitbc-blockchain-rpc aitbc-multimodal-gpu aitbc-marketplace aitbc-openclaw aitbc-advanced-ai aitbc-adaptive-learning; then
success "Services started successfully via systemd"
else
warning "Some systemd services failed, falling back to manual startup"
@@ -279,7 +279,7 @@ setup_autostart() {
systemctl enable aitbc-blockchain-rpc.service
systemctl enable aitbc-multimodal-gpu.service
systemctl enable aitbc-marketplace.service
systemctl enable aitbc-openclaw-enhanced.service
systemctl enable aitbc-openclaw.service
systemctl enable aitbc-advanced-ai.service
systemctl enable aitbc-adaptive-learning.service