mirror of
https://github.com/linuxserver/docker-swag.git
synced 2024-12-24 23:09:34 -05:00
Can't rm if it's an RO filesystem
This commit is contained in:
parent
7f4aabeef7
commit
c489e2c07f
@ -37,6 +37,4 @@ if [[ -z ${LSIO_READ_ONLY_FS} ]] && [[ -z ${LSIO_NON_ROOT_USER} ]] && [[ "${DISA
|
|||||||
if [[ ! -f /config/log/nginx/access.log ]]; then
|
if [[ ! -f /config/log/nginx/access.log ]]; then
|
||||||
touch /config/log/nginx/access.log
|
touch /config/log/nginx/access.log
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
rm -rf /etc/logrotate.d/fail2ban
|
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user