From owner-freebsd-questions Wed May 19 11:17:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 4602415164 for ; Wed, 19 May 1999 11:17:27 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id OAA10789; Wed, 19 May 1999 14:17:41 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199905191817.OAA10789@cc942873-a.ewndsr1.nj.home.com> Subject: Re: inetd In-Reply-To: from Erin Fortenberry at "May 19, 99 11:02:21 am" To: erinf@lusardi.com (Erin Fortenberry) Date: Wed, 19 May 1999 14:17:41 -0400 (EDT) Cc: support@kawartha.com, vagner@www.timandpatrick.com, questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Erin Fortenberry wrote, > Don't forget to restart inetd. A SIGHUP will not terminate the inetd process. You do _not_ need to restart it. From the manpage, "The inetd program rereads its configuration file when it receives a hangup signal, SIGHUP. Services may be added, deleted or modified when the configuration file is reread. Except when started in debugging mode, inetd records its process ID in the file /var/run/inetd.pid to assist in reconfiguration." So to the original poster, to have it re-read the file without the need to lookup the PID, # kill -HUP `cat /var/run/inetd.pid` > -----Original Message----- > From: OCD Support [mailto:support@kawartha.com] > Sent: Wednesday, May 19, 1999 11:09 AM > To: George Vagner > Cc: questions@FreeBSD.ORG > Subject: Re: inetd > > > Granted that you're logged in as root, do the following: > > # ps -x > > Look for the INETD running process (note the PID of the process) and > then do: > > # kill -HUP pid# > > For example if the INETD was running as process 183 then we'd do the > following: > > # kill -HUP 183 > > That should do it..:) > > Paul Stewart > > > George Vagner wrote: > > > I made some changes to inetd.conf and wanted to know how > > do i make the system reread in the new settings without > > rebooting. (been up for 70 days) the sys is 2.2.8-stable. > > > > thanks -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message