mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 18:03:01 -04:00
10 lines
260 B
Plaintext
Executable File
10 lines
260 B
Plaintext
Executable File
#!/usr/bin/with-contenv bash
|
|
# shellcheck shell=bash
|
|
|
|
# Disable f2b if requested
|
|
if [[ ${CROWDSEC_F2B_DISABLE,,} == "true" ]]; then
|
|
echo "**** Disabling fail2ban Service ****"
|
|
s6-svc -d /run/service/svc-fail2ban
|
|
rm -rf /etc/logrotate.d/fail2ban
|
|
fi
|