Date: Wed, 19 May 1999 14:17:41 -0400 (EDT) From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> To: erinf@lusardi.com (Erin Fortenberry) Cc: support@kawartha.com, vagner@www.timandpatrick.com, questions@FreeBSD.ORG Subject: Re: inetd Message-ID: <199905191817.OAA10789@cc942873-a.ewndsr1.nj.home.com> In-Reply-To: <AFB0749029D0D211AD3900902728125103A82C@MAIL> from Erin Fortenberry at "May 19, 99 11:02:21 am"
next in thread | previous in thread | raw e-mail | index | archive | help
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?199905191817.OAA10789>
