-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fail2ban service in docker container (#2632)
docker container Co-authored-by: Dmitrij Vinogradov <dmitrij.vinogradov@gmail.com>
- Loading branch information
1 parent
0c47771
commit a4c38ec
Showing
3 changed files
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters