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

10 lines
201 B
Plaintext
Executable File

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