fail2ban service in docker container (#2632)

docker container

Co-authored-by: Dmitrij Vinogradov <dmitrij.vinogradov@gmail.com>
This commit is contained in:
Dmitiry Vinogradov
2025-01-11 15:41:48 +03:00
committed by GitHub
parent 0c47771671
commit a4c38ec8ae
3 changed files with 3 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/sh
# Start fail2ban
fail2ban-client -x start
[ $X_UI_ENABLE_FAIL2BAN == "true" ] && fail2ban-client -x start
# Run x-ui
exec /app/x-ui