reread newsyslog.conf without reboot

John Nielsen lists at jnielsen.net
Mon Feb 16 14:48:18 PST 2009


On Friday 13 February 2009 05:44:55 am Proskurin Kirill wrote:
> Fbsd1 wrote:
> > How do I get the system to reread /etc/newsyslog.conf file with out
> > rebooting the system?
>
> /etc/rc.d/newsyslog restart

Since newsyslog is run from cron (and doesn't stay active as a daemon) no 
action is strictly necessary. However running the script above will save 
you the trouble of creating empty logfiles if needed.

JN



More information about the freebsd-questions mailing list