mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 18:15:29 +02:00
Added usage information
This commit is contained in:
parent
4f03b3cda6
commit
1821fb1861
2 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,7 @@ source /usr/local/bin/helpers/index.sh
|
|||
|
||||
function __usage() {
|
||||
echo "Usage: ./setup.sh fail2ban [<ban|unban> <IP>]"
|
||||
echo " ./setup.sh fail2ban [<ignore|consider> <IP OR CDIR RANGE>]"
|
||||
echo " ./setup.sh fail2ban log"
|
||||
echo " ./setup.sh fail2ban status"
|
||||
}
|
||||
|
|
|
@ -59,6 +59,8 @@ ${RED}[${ORANGE}SUB${RED}]${ORANGE}COMMANDS${RESET}
|
|||
setup fail2ban ${RESET}
|
||||
setup fail2ban ${CYAN}ban${RESET} <IP>
|
||||
setup fail2ban ${CYAN}unban${RESET} <IP>
|
||||
setup fail2ban ${CYAN}ignore${RESET} <IP OR CDIR RANGE>
|
||||
setup fail2ban ${CYAN}consider${RESET} <IP OR CDIR RANGE>
|
||||
setup fail2ban ${CYAN}log${RESET}
|
||||
setup fail2ban ${CYAN}status${RESET}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue