From owner-freebsd-questions@FreeBSD.ORG Wed Jan 14 16:24:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CA1816A4CE for ; Wed, 14 Jan 2004 16:24:40 -0800 (PST) Received: from ferengi.borderworlds.dk (borderworlds.dk [62.79.110.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0405C43D58 for ; Wed, 14 Jan 2004 16:24:37 -0800 (PST) (envelope-from xi@borderworlds.dk) Received: from borg.borderworlds.dk (localhost [127.0.0.1]) by ferengi.borderworlds.dk (Postfix) with ESMTP id E4B225C38 for ; Thu, 15 Jan 2004 01:24:32 +0100 (CET) Received: by borg.borderworlds.dk (Postfix, from userid 1001) id 27EC0B83A; Thu, 15 Jan 2004 01:24:32 +0100 (CET) Sender: xi@borderworlds.dk To: freebsd-questions@freebsd.org References: <20040114213345.GA38010@users.munk.nu> From: Christian Laursen Date: 15 Jan 2004 01:24:32 +0100 In-Reply-To: <20040114213345.GA38010@users.munk.nu> Message-ID: <864quy5a9r.fsf@borg.borderworlds.dk> Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: -HUP 1 command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2004 00:24:40 -0000 Jez Hancock writes: > On Tue, Jan 13, 2004 at 08:53:44PM -0500, fbsd_user wrote: > > After making changes to syslog.conf and newsyslog.conf > > what is the command to enable the changes. > > > > Is it Kill -HUP 1 > Note that process with PID 1 is usually the init process - sending a HUP > signal to it will produce undesirable effects similar to restarting the > whole server. Have a go and see what happens if it's not a production > server :P I usually kill init with a SIGHUP after editing /etc/ttys and it has so far never caused me any trouble. Actually this is also explained in the init(8) manpage: Line status (on, off, secure, getty, or window information) may be changed in the ttys(5) file without a reboot by sending the signal SIGHUP to init with the command ``kill -HUP 1''. On receipt of this signal, init re-reads the ttys(5) file. -- Best regards Christian Laursen