Remnawave_Node/docker-entrypoint.sh
kastov e1e9246d11
refactor: improve process management and concurrency handling
- Adds mutex-based locks for inbound user management
- Implements parallel processing for user extraction with concurrency limits
- Improves error handling and logging across core services
- Moves Xray version detection to environment variable
2025-08-21 03:37:37 +03:00

13 lines
No EOL
396 B
Bash

#!/bin/sh
echo "[Entrypoint] Starting entrypoint script..."
supervisord -c /etc/supervisord.conf &
echo "[Entrypoint] Supervisord started successfully"
sleep 1
echo "[Entrypoint] Getting Xray version..."
XRAY_CORE_VERSION=$(/usr/local/bin/xray version | head -n 1)
export XRAY_CORE_VERSION
echo "[Entrypoint] Xray version: $XRAY_CORE_VERSION"
echo "[Entrypoint] Executing command: $@"
exec "$@"