I recently added another conf file to /etc/logrotate.d to rotate some logs I keep for work. Problem is that every time it runs the script, I recieve the following error:
Code:
error: customlogs:3 unexpected text
I've read through the man pages and everything looks to be in order to me. Can someone point me in the right direction?
Code:
[root@localhost root]# cat /etc/logrotate.d/customlogs
/home/php/logs/log1 /home/php/logs/log2 /home/php/logs/log3 /home/php/logs/log4 {
missingok
errors root
rotate 6
weekly
nocompress
postrotate
/usr/bin/killall -HUP syslogd
endscript
}