From owner-freebsd-questions Sat Aug 3 15:43:50 2002 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 F184937B400 for ; Sat, 3 Aug 2002 15:43:48 -0700 (PDT) Received: from corten2.billschoolcraft.com (adsl-63-193-247-201.dsl.snfc21.pacbell.net [63.193.247.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56FFE43E5E for ; Sat, 3 Aug 2002 15:43:48 -0700 (PDT) (envelope-from bill@wiliweld.com) Received: from corten8.billschoolcraft.com ([192.168.7.8] helo=localhost) by corten2.billschoolcraft.com with esmtp (Exim 3.22 #1 (Debian)) id 17b7cg-0006Ob-00 for ; Sat, 03 Aug 2002 15:43:46 -0700 Date: Sat, 3 Aug 2002 15:56:41 -0700 (PDT) From: Bill Schoolcraft X-X-Sender: bill@corten8 To: freebsd-questions@FreeBSD.ORG Subject: [kill -1] Re: Two Seemingly Simple Questions In-Reply-To: <44r8hfzv4n.fsf@be-well.ilk.org> Message-ID: System-ID: [en] (I; Linux i86pc) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 3 Aug 2002 it looks like Lowell Gilbert composed: > "MET" writes: > > > 1. How do you restart inetd.conf without restarting the machine? > > I used to use "kill -HUP " then one day did a "kill -l" and saw that -HUP was associated to the number "1" so now I just do "kill -1 " or if you just trying to have some fun.... kill -1 `cat /var/run/inetd.pid` which will do the same thing. (those are backticks on the cat command) Don't always expect to see the deamon's PID there for there are alwasys tarball compile options to put the "*.pid" elsewhere. -- |<--------------------------------72---------------------------------->| Bill Schoolcraft PO Box 210076 -o) San Francisco CA 94121 /\ "UNIX, A Way Of Life." _\_v http://forwardslashunix.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message