Skip to content

Commit c489e2c

Browse files
committed
Can't rm if it's an RO filesystem
1 parent 7f4aabe commit c489e2c

File tree

1 file changed

+0
-2
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-fail2ban-config

1 file changed

+0
-2
lines changed

root/etc/s6-overlay/s6-rc.d/init-fail2ban-config/run

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,4 @@ if [[ -z ${LSIO_READ_ONLY_FS} ]] && [[ -z ${LSIO_NON_ROOT_USER} ]] && [[ "${DISA
3737
if [[ ! -f /config/log/nginx/access.log ]]; then
3838
touch /config/log/nginx/access.log
3939
fi
40-
else
41-
rm -rf /etc/logrotate.d/fail2ban
4240
fi

0 commit comments

Comments
 (0)