From owner-freebsd-commit Tue Jan 16 02:49:27 1996 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA04524 for freebsd-commit-outgoing; Tue, 16 Jan 1996 02:49:27 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA04506 for cvs-all-outgoing; Tue, 16 Jan 1996 02:49:19 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA04493 for cvs-etc-outgoing; Tue, 16 Jan 1996 02:49:16 -0800 (PST) Received: from sequent.kiae.su (sequent.kiae.su [144.206.136.6]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA04474 Tue, 16 Jan 1996 02:48:34 -0800 (PST) Received: by sequent.kiae.su id AA09039 (5.65.kiae-2 ); Tue, 16 Jan 1996 13:41:12 +0300 Received: by sequent.KIAE.su (UUMAIL/2.0); Tue, 16 Jan 96 13:41:11 +0300 Received: (from ache@localhost) by ache.dialup.ru (8.7.3/8.7.3) id NAA00417; Tue, 16 Jan 1996 13:38:14 +0300 (MSK) To: CVS-committers@freefall.freebsd.org, cvs-etc@freefall.freebsd.org, Thomas Graichen References: <199601160804.AAA20776@freefall.freebsd.org> In-Reply-To: <199601160804.AAA20776@freefall.freebsd.org>; from Thomas Graichen at Tue, 16 Jan 1996 00:04:10 -0800 (PST) Message-Id: Organization: Olahm Ha-Yetzirah Date: Tue, 16 Jan 1996 13:38:13 +0300 (MSK) X-Mailer: Mail/@ [v2.41 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast Subject: Re: cvs commit: src/etc newsyslog.conf rc Lines: 25 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-commit@FreeBSD.ORG Precedence: bulk In message <199601160804.AAA20776@freefall.freebsd.org> Thomas Graichen writes: >graichen 96/01/16 00:04:09 > Modified: etc newsyslog.conf rc > Log: > added the "-p" option to amd so that it writes it's pid to > /var/run/amd.pid and added the "-l /var/log/amd.log" option there too > added an entry for the "rotation" of /var/log/amd.log to newsyslog.conf What I need from newsyslog badly is a new newsyslog.conf field with pid file name. If such field present, newsyslog must read pid from specified file and do 'kill -1 pid' to inform process to close current logfile and open new one. It is needed because some essential daemons as Apache don't use syslog() call, but use their own log routines. They need HUP to start with new logs. Can you implement it, please? -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849