From owner-freebsd-questions Wed Dec 26 10:35:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from catalyst.sasknow.net (catalyst.sasknow.net [207.195.92.130]) by hub.freebsd.org (Postfix) with ESMTP id 6DA4637B405 for ; Wed, 26 Dec 2001 10:35:09 -0800 (PST) Received: from localhost (ryan@localhost) by catalyst.sasknow.net (8.11.6/8.11.6) with ESMTP id fBQIbei15109; Wed, 26 Dec 2001 12:37:41 -0600 (CST) (envelope-from ryan@sasknow.com) X-Authentication-Warning: catalyst.sasknow.net: ryan owned process doing -bs Date: Wed, 26 Dec 2001 12:37:40 -0600 (CST) From: Ryan Thompson X-X-Sender: To: Cc: Subject: Re: FTPD start/restart In-Reply-To: <3.0.5.32.20011226115827.01691728@mail.sage-american.com> Message-ID: <20011226123314.N15096-100000@catalyst.sasknow.net> 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 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message