Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2009 06:59:29 +0100
From:      akruijff@dds.nl
To:        freebsd-questions@freebsd.org
Cc:        fbsd1@a1poweruser.com
Subject:   Re: reread newsyslog.conf without reboot
Message-ID:  <20090212065929.8cbmzbmee8cw8ggs@webmail.dds.nl>
In-Reply-To: <6996675E-095E-4D4C-B886-6AC140808F06@lafn.org>
References:  <49BB6DE7.8060407@a1poweruser.com> <20090212053220.e723gzz3ggw8o8o8@webmail.dds.nl> <6996675E-095E-4D4C-B886-6AC140808F06@lafn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Doug Hardie <bc979@lafn.org>:
> On Feb 11, 2009, at 20:32, akruijff@dds.nl wrote:
>> Quoting Fbsd1 <fbsd1@a1poweruser.com>:
>>> How do I get the system to reread /etc/newsyslog.conf file with out
>>> rebooting the system?
>>
>> This is usually done by sending a HUP signal with 'kill' to the   
>> newsyslog daemon. If this doesn't do it then you can kill the   
>> daemon and load it again with the script in /etc/rc.d/
>
> You might want to take a look at /etc/crontab - in particular the entry
> for newsyslog:
>
> # Rotate log files every hour, if necessary.
> 0       *       *       *       *       root    newsyslog
>
> Its not a daemon.  It runs and exits.  It reads the newsyslog.conf file
> each time it runs.

I overlooked this fact.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090212065929.8cbmzbmee8cw8ggs>