From owner-freebsd-questions@FreeBSD.ORG Thu Feb 12 05:59:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65A991065672 for ; Thu, 12 Feb 2009 05:59:35 +0000 (UTC) (envelope-from akruijff@dds.nl) Received: from rotring.dds.nl (rotring.dds.nl [85.17.178.138]) by mx1.freebsd.org (Postfix) with ESMTP id 2348A8FC1A for ; Thu, 12 Feb 2009 05:59:34 +0000 (UTC) (envelope-from akruijff@dds.nl) Received: from localhost (localhost [127.0.0.1]) by rotring.dds.nl (Postfix) with ESMTP id 2D611272D7A; Thu, 12 Feb 2009 06:59:34 +0100 (CET) Received: from stipula.dds.nl (stipula.dds.nl [85.17.178.142]) by rotring.dds.nl (Postfix) with ESMTP id 078C2272D79; Thu, 12 Feb 2009 06:59:30 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by stipula.dds.nl (Postfix) with ESMTP id 652C8795CF1; Thu, 12 Feb 2009 06:59:29 +0100 (CET) Received: from 81.204.132.35 ([81.204.132.35]) by webmail.dds.nl (Horde MIME library) with HTTP; Thu, 12 Feb 2009 06:59:29 +0100 Message-ID: <20090212065929.8cbmzbmee8cw8ggs@webmail.dds.nl> X-Priority: 3 (Normal) Date: Thu, 12 Feb 2009 06:59:29 +0100 From: akruijff@dds.nl To: freebsd-questions@freebsd.org References: <49BB6DE7.8060407@a1poweruser.com> <20090212053220.e723gzz3ggw8o8o8@webmail.dds.nl> <6996675E-095E-4D4C-B886-6AC140808F06@lafn.org> In-Reply-To: <6996675E-095E-4D4C-B886-6AC140808F06@lafn.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: DDS webmail X-Virus-Scanned: ClamAV 0.94.2/8981/Thu Feb 12 01:28:11 2009 on rotring X-Virus-Status: Clean Cc: fbsd1@a1poweruser.com Subject: Re: reread newsyslog.conf without reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 05:59:35 -0000 Quoting Doug Hardie : > On Feb 11, 2009, at 20:32, akruijff@dds.nl wrote: >> Quoting Fbsd1 : >>> 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.