[syslog-ng]Logrotate problems
Simeon Johnston
simeonuj@eetc.com
Fri, 06 Apr 2001 14:41:10 -0500
I am trying to rotate the logs but am having problems with logrotate.
This may not be a problem with syslog-ng.
This is the command used.
/var/log/logfile {
postrotate
/usr/bin/killall -HUP `cat /var/run/syslog-ng.pid`
endscript
}
The problem with this is that the syslog-ng.pid file seems to be
generated in whatever directory you started syslog-ng from instead of
/var/run/*. Is this a configuration problem of the system? If a system
problem how do I go about fixing it ( if this is not too far off topic
)? Is there a simpler way to send an HUP signal?
I am using Redhat-6.2 on an ALPHA with syslog-ng 1.4.11.
Thanks,
sim