From owner-freebsd-questions Thu Sep 20 6:18:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id 2DDA937B401 for ; Thu, 20 Sep 2001 06:18:30 -0700 (PDT) Received: (qmail 19954 invoked by uid 0); 20 Sep 2001 13:18:29 -0000 Received: from pd952ecee.dip.t-dialin.net (HELO elmicha.333200002251-0001.dialin.t-online.de) (217.82.236.238) by mail.gmx.net (mp004-rz3) with SMTP; 20 Sep 2001 13:18:29 -0000 Received: (from elmicha@localhost) by elmicha.333200002251-0001.dialin.t-online.de (8.9.3/8.9.3) id OAA03328 for freebsd-questions@FreeBSD.ORG; Thu, 20 Sep 2001 14:48:27 +0200 Date: Thu, 20 Sep 2001 14:48:27 +0200 From: Michael Mauch To: freebsd-questions@FreeBSD.ORG Subject: Re: ftp server - again Message-ID: <20010920144827.A1331@elmicha.333200002251-0001.dialin.t-online.de> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <18718055111.20010920140938@e-box.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <18718055111.20010920140938@e-box.dk>; from neigaard@e-box.dk on Thu, Sep 20, 2001 at 02:09:38PM +0200 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 Søren Neigaard wrote: > Ok - I have settled for ftpd that ships with FreeBSD. My only problem > is that it dosn't start at startup. I have found "/usr/libexec/ftpd", > and I guess that is it. I don't know anything about how this works, so > could anyone give me a primer on what makes inet deamons start at > startup, I guess they don't work the same way as Apache (on server, > with many threads), or? Look into /etc/inetd.conf, there are already two lines: #ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l #ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l right after the line: # To enable a service, remove the '#' at the beginning of the line. And "man inetd" has: 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. So after your changes in the inetd.conf, you can "killall -HUP inetd" to let inetd know about the changes. Apache is normally not started by inetd, because its startup is too slow (and Apache can "cache" things like database connections etc.). Regards... Michael To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message