Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 1999 11:14:22 -0700
From:      Erin Fortenberry <erinf@lusardi.com>
To:        "'cjclark@home.com'" <cjclark@home.com>, Erin Fortenberry <erinf@lusardi.com>
Cc:        support@kawartha.com, vagner@www.timandpatrick.com, questions@FreeBSD.ORG
Subject:   RE: inetd
Message-ID:  <AFB0749029D0D211AD3900902728125103A830@MAIL>

next in thread | raw e-mail | index | archive | help
I oops'd.. I didn't think.. I got it.

-----Original Message-----
From: Crist J. Clark [mailto:cjc@cc942873-a.ewndsr1.nj.home.com]
Sent: Wednesday, May 19, 1999 11:18 AM
To: erinf@lusardi.com
Cc: support@kawartha.com; vagner@www.timandpatrick.com;
questions@FreeBSD.ORG
Subject: Re: inetd


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AFB0749029D0D211AD3900902728125103A830>