3x-ui/DockerEntrypoint.sh

12 lines
205 B
Bash
Raw Normal View History

#!/bin/sh
# Start fail2ban
[ $X_UI_ENABLE_FAIL2BAN == "true" ] && fail2ban-client -x start
2024-11-06 12:26:02 +00:00
# Docker Logs
#ln -sf /dev/stdout /app/access.log
#ln -sf /dev/stdout /app/error.log
2024-11-06 12:26:02 +00:00
# Run x-ui
exec /app/x-ui