[syslog-ng]logrotate question (not working with syslog-ng)...

Nate Campi syslog-ng@lists.balabit.hu
Thu, 10 Apr 2003 14:06:54 -0700


On Wed, Apr 09, 2003 at 07:35:57PM -0700, seberino@spawar.navy.mil wrote:
> 
> So you are saying that logrotate *already* does a HUP but
> the problem is that it is "HUP-ing" based on /var/run/syslogd.pid???
> 
> Is this a new way to not only avoid modifying logrotate
> but also avoid -p switch!?!?!?!?!.....
> 
> I can just make a soft link from /var/run/syslogd.pid
> to /var/run/syslogd-ng.pid!!!
> 
> This is an even neater solution.

/var/run is usually emptied upon reboot on UNIX, either by scripts or by
virtue of it being a memory-based fs on some.
-- 
Nate Campi    http://www.campin.net