3x-ui/DockerEntrypoint.sh

13 lines
182 B
Bash
Raw Normal View History

#!/bin/sh
2025-12-15 14:20:24 +00:00
set -eu
2026-01-18 15:10:17 +00:00
# /app/bin is shared volume
cp /tmp/xray/* /app/bin/
# Start fail2ban
[ "$XUI_ENABLE_FAIL2BAN" = "true" ] && fail2ban-client -x start
# Run x-ui
exec /app/x-ui