Files
docker-swag/root/etc/s6-overlay/s6-rc.d/svc-fail2ban/run
2024-12-17 20:34:13 +00:00

10 lines
239 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
# shellcheck shell=bash
if [[ -z ${LSIO_READ_ONLY_FS} ]] && [[ -z ${LSIO_NON_ROOT_USER} ]] && [[ "${DISABLE_F2B,,}" != "true" ]]; then
exec \
fail2ban-client -x -f start
else
sleep infinity
fi