From owner-freebsd-questions Tue May 28 2:21:16 2002 Delivered-To: freebsd-questions@freebsd.org Received: from fep1.mta.online.no (hindenburg.osl.ttyl.com [148.122.208.19]) by hub.freebsd.org (Postfix) with ESMTP id 2488437B40C for ; Tue, 28 May 2002 02:21:11 -0700 (PDT) Received: from [10.100.16.124] ([193.212.240.202]) by fep1.mta.online.no (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20020528092109.OWZL8575.fep1.mta.online.no@[10.100.16.124]> for ; Tue, 28 May 2002 11:21:09 +0200 Date: Tue, 28 May 2002 11:21:09 +0200 From: Eivind Olsen To: freebsd-questions@FreeBSD.ORG Subject: Re: Starting ftpd Message-ID: <440022498.1022584869@[10.100.16.124]> In-Reply-To: References: X-Mailer: Mulberry/3.0.0a1 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 --On 28. mai 2002 10:56 +0200 Gilbert 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