Extract 4 self-contained services into services/ module: - server/telegram_bot/ -> services/telegram_bot/ - server/ws_gateway/ -> services/ws_gateway/ - server/corporate_memory/ -> services/corporate_memory/ - server/session_collector.py -> services/session_collector/ Each service now has its own systemd/ directory with .service and .timer files. deploy.sh updated to auto-discover service units from services/*/systemd/*. server/ now contains only deployment infrastructure (deploy.sh, setup scripts, bin/ management tools, sudoers, nginx config). All imports updated: webapp/app.py, server/bin/ scripts, systemd ExecStart paths.
13 lines
480 B
Python
13 lines
480 B
Python
"""
|
|
Services package - standalone optional services.
|
|
|
|
Each service is a self-contained module with its own systemd unit files,
|
|
configuration, and README. Services are auto-discovered by deploy.sh
|
|
from services/*/systemd/*.service and *.timer.
|
|
|
|
Available services:
|
|
- telegram_bot: Telegram notification bot
|
|
- ws_gateway: WebSocket real-time notification gateway
|
|
- corporate_memory: AI knowledge extraction from analyst insights
|
|
- session_collector: User session log collection
|
|
"""
|