Squid logrotate can be daily or monthly

This commit is contained in:
Jérémy Lecour 2021-10-08 07:28:44 +02:00
parent c031c60c59
commit 6a81702271

View file

@ -1040,7 +1040,7 @@ check_phpevolinuxconf() {
check_squidlogrotate() {
if is_debian_stretch || is_debian_buster || is_debian_bullseye; then
if is_installed squid; then
grep -q monthly /etc/logrotate.d/squid \
grep -q -e monthly -e daily /etc/logrotate.d/squid \
|| failed "IS_SQUIDLOGROTATE" "missing squid logrotate file"
fi
fi