mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-21 10:34:14 -04:00
Update to handle f2b_diable with s6rc init. Include #565.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#!/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
|
||||
fi
|
||||
@@ -0,0 +1 @@
|
||||
oneshot
|
||||
@@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-mod-swag-crowdsec-f2b/run
|
||||
Reference in New Issue
Block a user