From owner-freebsd-questions@FreeBSD.ORG Wed Jun 18 08:37:04 2008 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 10C9F10656B8 for ; Wed, 18 Jun 2008 08:37:04 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (ei.bzerk.org [82.95.223.12]) by mx1.freebsd.org (Postfix) with ESMTP id 88C5C8FC2B for ; Wed, 18 Jun 2008 08:37:03 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id m5I8A42o081374; Wed, 18 Jun 2008 10:10:04 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id m5I8A3Bk081373; Wed, 18 Jun 2008 10:10:03 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Wed, 18 Jun 2008 10:10:03 +0200 From: Ruben de Groot To: Agus Message-ID: <20080618081003.GA73715@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Agus , User Questions References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (ei.bzerk.org [127.0.0.1]); Wed, 18 Jun 2008 10:10:04 +0200 (CEST) Cc: User Questions Subject: Re: Vsftpd rotate logs with newsyslog... 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: Wed, 18 Jun 2008 08:37:04 -0000 Hi Agustin, On Tue, Jun 17, 2008 at 03:52:55PM -0300, Agus typed: > Hi fellows... > > I am wanting to rotate logs for vsftpd using newsyslog.......My question is, > does vsftpd needs to get the HUP or any signal after rotation? > I run it from inetd so i guess the HUP should be sent to inetd.pid right? No, when run from inetd, no HUP is needed. New instances of vsftpd spawned by inetd will automatically log to the new logfile. > Well, i take this opportunity also to ask about Apache too....which signal > should i send? A HUP signal should work for apache. regards, Ruben