From owner-freebsd-questions Wed Dec 26 10:40:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id 1799B37B416 for ; Wed, 26 Dec 2001 10:40:05 -0800 (PST) Received: from SAGEONE (adsl-64-219-21-136.dsl.crchtx.swbell.net [64.219.21.136]) by sage-american.com (8.9.3/8.9.3) with SMTP id MAA21676; Wed, 26 Dec 2001 12:39:53 -0600 (CST) Message-Id: <3.0.5.32.20011226123949.01691728@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 26 Dec 2001 12:39:49 -0600 To: Ryan Thompson From: jacks@sage-american.com Subject: Re: FTPD start/restart Cc: In-Reply-To: <20011226123314.N15096-100000@catalyst.sasknow.net> References: <3.0.5.32.20011226115827.01691728@mail.sage-american.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 Ryan & Christopher: You have it.... that's it. Not seeing the PID had me going for a moment, but then remembered it was part of inetd. ....thanks for clearing this up! Happy Holidays! At 12:37 PM 12.26.2001 -0600, Ryan Thompson wrote: >jacks@sage-american.com wrote to freebsd-questions@FreeBSD.ORG: > >> Guess. I'm having a senior moment, but I would like to stop the >> ftpd service (normally launched from inetd) and then restart with >> new parameters like: > >If you are indeed running ftpd from inetd, then you'll need to edit >the appropriate line in /etc/inetd.conf, and restart inetd: > > kill -HUP `cat /var/run/inetd.pid` > >Note that there is NO ftpd daemon process to kill, because inetd >listens for connections, and simply forks an individual ftpd process >for each request. > >There ARE other ftpds (ProFTPd, in the ports, comes to mind) that can >be run as a standalone daemon. (i.e., not from inetd). If you find >yourself in this boat now or later, then you WOULD want to do >something similar to what you outline below (the exact syntax will >vary): > >> #/usr/libexec/ftpd -lS >> >> Would I stop with >> #kill HUP ftpd #then run the above to restart? >> >> I know, pretty basic....but...still unsure.... > > >Hope this helps, >- Ryan > >-- > Ryan Thompson > Network Administrator, Accounts > > SaskNow Technologies - http://www.sasknow.com > #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 > > Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon > Toll-Free: 877-727-5669 (877-SASKNOW) North America > > > Best regards, Jack L. Stone, Server Admin Sage-American http://www.sage-american.com jacks@sage-american.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message