diladele / dnssafety

DNS Safety is simple and fast DNS filtering server for your local network
https://www.diladele.com/dnssafety/
29 stars 8 forks source link

Access log is not rotated #442

Open ra-at-diladele-com opened 3 years ago

danieljloughlin commented 3 years ago

/etc/logrotate.d/dnssaftey appears to have the wrong su parameters for access.log. Log rotation works correctly when su is set to daemon daemon

e.g. /opt/dnssafety/var/log/access.log { daily rotate 7 copytruncate compress missingok notifempty su daemon daemon }