Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2002 11:21:09 +0200
From:      Eivind Olsen <eivind@aminor.no>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Starting ftpd
Message-ID:  <440022498.1022584869@[10.100.16.124]>
In-Reply-To: <A9F9CB300A9D744A9EAC76309550E0FC0ABBB9@beach.gloviz.co.za>
References:   <A9F9CB300A9D744A9EAC76309550E0FC0ABBB9@beach.gloviz.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
--On 28. mai 2002 10:56 +0200 Gilbert <gilbert@gloviz.co.za> wrote:
> I need to know how to start the ftpd and restart the inetd if any one can
> help

If it's one of the ftpd's that must be run from the inetd: edit 
/etc/inetd.conf so the ftpd is started. Then, send the inetd-process a HUP 
signal. This could probably be done as a one-liner, but here is one way of 
doing this:

trisha# ps x | grep inetd
  161  ??  Is     0:00.14 /usr/sbin/inetd -wW

Find the pid (number in the first column). In my case, it's now 161.
Send it a HUP-signal:

trisha# kill -HUP 161

-- 
Eivind Olsen
eivind@aminor.no


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?440022498.1022584869>