Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2001 12:39:49 -0600
From:      jacks@sage-american.com
To:        Ryan Thompson <ryan@sasknow.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: FTPD start/restart
Message-ID:  <3.0.5.32.20011226123949.01691728@mail.sage-american.com>
In-Reply-To: <20011226123314.N15096-100000@catalyst.sasknow.net>
References:  <3.0.5.32.20011226115827.01691728@mail.sage-american.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <ryan@sasknow.com>
>  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20011226123949.01691728>