AI Services Renaming - Complete: ✅ AI SERVICES RENAMED: Simplified AI service naming for consistency - systemd/aitbc-advanced-ai.service: Renamed to aitbc-ai.service - systemd/aitbc-adaptive-learning.service: Renamed to aitbc-learning.service - systemd/aitbc-adaptive-learning.service.d: Renamed to aitbc-learning.service.d - setup.sh: Updated all references to use new service names - Documentation: Updated all references to use new service names ✅ RENAMING RATIONALE: 🎯 Simplification: Cleaner, more intuitive service names 📝 Clarity: Removed verbose 'advanced-' and 'adaptive-' prefixes 🔧 Consistency: Matches standard service naming patterns 🎨 Standardization: All services follow aitbc-{name}.service pattern ✅ SERVICE MAPPINGS: 🤖 aitbc-advanced-ai.service → aitbc-ai.service 🧠 aitbc-adaptive-learning.service → aitbc-learning.service 📁 Configuration directories: Renamed accordingly ⚙️ Environment configs: Preserved in new directories ✅ SETUP SCRIPT UPDATES: 📦 install_services(): Updated services array with new names 🚀 start_services(): Updated systemctl start commands 🔄 setup_autostart(): Updated systemctl enable commands 📋 Status Check: Updated systemctl is-active checks ✅ DOCUMENTATION UPDATES: 📚 documented_AITBC_Enhanced_Services__8010-8016__Implementation.md: Updated service paths and responses 📚 ENHANCED_SERVICES_IMPLEMENTATION_GUIDE.md: Updated systemctl commands 📋 Service responses: Updated JSON service names to match 🎯 Port references: Updated to use new service names ✅ COMPLETE SERVICE LIST (FINAL): 🔧 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 🔧 aitbc-ai.service: AI capabilities (RENAMED) 🔧 aitbc-learning.service: Learning capabilities (RENAMED) ✅ BENEFITS: ✅ Cleaner Naming: More intuitive and shorter service names ✅ Consistent Pattern: All services follow same naming convention ✅ Easier Management: Simpler systemctl commands ✅ Better UX: Easier to remember and type service names ✅ Maintainability: Clearer service identification ✅ CODEBASE CONSISTENCY: 🔧 All systemctl commands: Updated to use new service names 📋 All service arrays: Updated in setup script 📚 All documentation: Updated to reference new names 🎯 All references: Consistent naming throughout codebase RESULT: Successfully renamed AI services to cleaner naming convention, providing more intuitive and consistent service management across the entire AITBC ecosystem with standardized naming patterns.
33 lines
858 B
Desktop File
33 lines
858 B
Desktop File
[Unit]
|
|
Description=AITBC Adaptive Learning Service
|
|
After=network.target aitbc-coordinator-api.service
|
|
Wants=aitbc-coordinator-api.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/opt/aitbc/apps/coordinator-api/
|
|
Environment=PYTHONPATH=/opt/aitbc/apps/coordinator-api/src:/opt/aitbc/packages/py/aitbc-sdk/src:/opt/aitbc/packages/py/aitbc-crypto/src
|
|
ExecStart=/opt/aitbc/venv/bin/python -m uvicorn app.services.adaptive_learning_app:app --host 127.0.0.1 --port 8010
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillMode=mixed
|
|
TimeoutStopSec=5
|
|
PrivateTmp=true
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
|
|
# Logging
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=aitbc-adaptive-learning
|
|
|
|
# Security
|
|
NoNewPrivileges=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ReadWritePaths=/home/oib/aitbc/apps/coordinator-api
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|