rfxn / advanced-policy-firewall

Advanced Policy Firewall (APF)
GNU General Public License v2.0
93 stars 46 forks source link

CentOS daily logrotate gives errors for apf #30

Open AlexShapka opened 5 years ago

AlexShapka commented 5 years ago

Anacron is sending the following error on daily basis:

/etc/cron.daily/logrotate:

error: apf:prerotate, postrotate or preremove without endscript
error: found error in file apf, skipping

Running the /etc/cron.daily/logrotate command on command line gives the same error:

error: apf:prerotate, postrotate or preremove without endscript
error: found error in file apf, skipping