From c489e2c07fc15df695803240e845e1d9796ae035 Mon Sep 17 00:00:00 2001 From: thespad Date: Tue, 17 Dec 2024 21:27:37 +0000 Subject: [PATCH] Can't rm if it's an RO filesystem --- root/etc/s6-overlay/s6-rc.d/init-fail2ban-config/run | 2 -- 1 file changed, 2 deletions(-) diff --git a/root/etc/s6-overlay/s6-rc.d/init-fail2ban-config/run b/root/etc/s6-overlay/s6-rc.d/init-fail2ban-config/run index 4e250a1..d254a6a 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-fail2ban-config/run +++ b/root/etc/s6-overlay/s6-rc.d/init-fail2ban-config/run @@ -37,6 +37,4 @@ if [[ -z ${LSIO_READ_ONLY_FS} ]] && [[ -z ${LSIO_NON_ROOT_USER} ]] && [[ "${DISA if [[ ! -f /config/log/nginx/access.log ]]; then touch /config/log/nginx/access.log fi -else - rm -rf /etc/logrotate.d/fail2ban fi