From owner-freebsd-questions Mon Apr 22 16: 2: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from roc-66-66-72-6.rochester.rr.com (roc-66-66-72-6.rochester.rr.com [66.66.72.6]) by hub.freebsd.org (Postfix) with ESMTP id 4B40737D38C for ; Mon, 22 Apr 2002 15:54:50 -0700 (PDT) Received: by roc-66-66-72-6.rochester.rr.com (Postfix, from userid 1000) id 34D13901A00; Mon, 22 Apr 2002 18:54:15 -0400 (EDT) Date: Mon, 22 Apr 2002 18:54:15 -0400 From: mpd To: Mike Walsh Cc: questions@FreeBSD.org Subject: Re: starting PureFTP on startup Message-ID: <20020422185415.B31494@rochester.rr.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from mike.walsh@timestar.com on Mon, Apr 22, 2002 at 06:13:53PM -0400 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 Mon, Apr 22, 2002 at 06:13:53PM -0400, Mike Walsh wrote: > hey there, > > i have PureFTP installed on my FreeBSD 4.4 machine. its installed at: > > /usr/local/sbin/pure-ftpd > > i'd like to automatically run the server when the system boots, but i don't > know how to do that. > > can anyone tell me how to do this?? Is there a reason you don't want to do it via inetd(1)? If not, replace the ftp line in /etc/inetd.conf with a line for pure-ftpd. rtfm for more. If so, then write a small shell script that handles the arguments 'start' and 'stop' and put it in /usr/local/etc/rc.d under the name pure-ftpd.sh. Make sure it's set to be executable. > > thanks, > Mike Walsh > > mike -- ___________________________________________________________ "I AM IN FLAVOR COUNTRY!" - Pokey the Penguin from "LET US MEET CHICKEN DELICIOUS" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message