mirror of
https://github.com/tiredofit/docker-postal.git
synced 2025-09-18 10:24:28 +08:00
Fix for Fail2ban Failing
This commit is contained in:
parent
739cf25456
commit
ad33793d2e
2 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@ fail2ban_create_config_jail() {
|
||||||
cat <<EOF > ${FAIL2BAN_CONFIG_PATH}jail.conf
|
cat <<EOF > ${FAIL2BAN_CONFIG_PATH}jail.conf
|
||||||
## Custom Generated Fail2ban jail.conf Configuration! Do not edit, instead set ENV Vars
|
## Custom Generated Fail2ban jail.conf Configuration! Do not edit, instead set ENV Vars
|
||||||
## If you want to use your own configuration files set SETUP_TYPE=MANUAL when starting container
|
## If you want to use your own configuration files set SETUP_TYPE=MANUAL when starting container
|
||||||
## Last Generated on `date`
|
## Last Generated on $(date)
|
||||||
|
|
||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
ignorself = ${FAIL2BAN_IGNORE_SELF}
|
ignorself = ${FAIL2BAN_IGNORE_SELF}
|
||||||
|
@ -101,7 +101,7 @@ fail2ban_create_config_main(){
|
||||||
cat <<EOF > ${FAIL2BAN_CONFIG_PATH}fail2ban.conf
|
cat <<EOF > ${FAIL2BAN_CONFIG_PATH}fail2ban.conf
|
||||||
## Custom Generated fail2ban.conf Configuration! Do not edit, instead set ENV Vars
|
## Custom Generated fail2ban.conf Configuration! Do not edit, instead set ENV Vars
|
||||||
## If you want to use your own configuration files set SETUP_TYPE=MANUAL when starting container
|
## If you want to use your own configuration files set SETUP_TYPE=MANUAL when starting container
|
||||||
## Last Generated on `date`
|
## Last Generated on $(date)
|
||||||
|
|
||||||
[Definition]
|
[Definition]
|
||||||
loglevel = ${FAIL2BAN_LOG_LEVEL}
|
loglevel = ${FAIL2BAN_LOG_LEVEL}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
source /assets/functions/00-container
|
source /assets/functions/00-container
|
||||||
source /assets/defaults/10-postal
|
source /assets/defaults/20-postal
|
||||||
|
|
||||||
prepare_service
|
prepare_service
|
||||||
PROCESS_NAME="fail2ban"
|
PROCESS_NAME="fail2ban"
|
||||||
|
|
Loading…
Add table
Reference in a new issue