From owner-freebsd-questions Fri Dec 14 17:52:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 3D1FC37B419 for ; Fri, 14 Dec 2001 17:52:44 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 234082B775; Sat, 15 Dec 2001 02:52:41 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id 80B9CB5; Sat, 15 Dec 2001 12:52:27 +1100 (EST) Date: Sat, 15 Dec 2001 12:52:27 +1100 From: Edwin Groothuis To: Totally Jayyness Cc: freebsd-questions@freebsd.org Subject: Re: 2 FTP Sites running on the same machine Message-ID: <20011215125227.J724@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , Totally Jayyness , freebsd-questions@freebsd.org References: <000501c1850a$58742b60$0300a8c0@jayyness.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000501c1850a$58742b60$0300a8c0@jayyness.com>; from Jayyness@mindspring.com on Fri, Dec 14, 2001 at 06:46:41PM -0700 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 Fri, Dec 14, 2001 at 06:46:41PM -0700, Totally Jayyness wrote: > I am pretty sure this can be done, but I am having trouble tracking down > exactly how to do it. > > I currently am running ftp on the standard port 21. What I would like to do > is run a second ftp on a different port, say 1000) and have that ftp launch > automatically if I have to reboot my server for whatever reason. Look at how ftp is started from /etc/inetd.conf. Just add a new port to /etc/services, for example "myftp 1000/tcp" and copy the line in inetd.conf, just replace the first ftp with myftp. Kill -HUP inetd and you're in! Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message