Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2009 17:11:51 -0500
From:      John Nielsen <lists@jnielsen.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: reread newsyslog.conf without reboot
Message-ID:  <200902161711.51722.lists@jnielsen.net>
In-Reply-To: <49954F27.6080103@fxclub.org>
References:  <49BB6DE7.8060407@a1poweruser.com> <49954F27.6080103@fxclub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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