diff options
author | dg <dg@FreeBSD.org> | 1996-04-11 10:22:16 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1996-04-11 10:22:16 +0000 |
commit | 53e950c18529ee4286dcd120640c4544f5651386 (patch) | |
tree | 74ce8d143a92773e944580691fd7a7491a4394fe /libexec/ftpd/ftpd.8 | |
parent | 414db770b68b564ca18c187735e992086a5c940f (diff) | |
download | FreeBSD-src-53e950c18529ee4286dcd120640c4544f5651386.zip FreeBSD-src-53e950c18529ee4286dcd120640c4544f5651386.tar.gz |
Implemented a "-D" option that causes ftpd to detach and become a daemon -
accepting connections on the FTP port and forking children processes to
handling them. This is lower overhead than spawning ftpd from inetd and
can be a significant win on busy FTP servers. Be sure to disable ftpd in
inetd.conf if you decide to use this option.
These changes are based on similar changes I made to wu-ftpd and have
been in use on wcarchive for several months.
Diffstat (limited to 'libexec/ftpd/ftpd.8')
-rw-r--r-- | libexec/ftpd/ftpd.8 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libexec/ftpd/ftpd.8 b/libexec/ftpd/ftpd.8 index 6e5b199..8cd6902 100644 --- a/libexec/ftpd/ftpd.8 +++ b/libexec/ftpd/ftpd.8 @@ -41,6 +41,7 @@ Internet File Transfer Protocol server .Sh SYNOPSIS .Nm ftpd .Op Fl dl +.Op Fl D .Op Fl S .Op Fl U .Op Fl T Ar maxtimeout @@ -68,6 +69,16 @@ session is logged using syslog with a facility of LOG_FTP. If this option is specified twice, the retrieve (get), store (put), append, delete, make directory, remove directory and rename operations and their filename arguments are also logged. +.It Fl D +With this option set, +.Nm ftpd +will detach and become a daemon, accepting connections on the FTP port and +forking children processes to handle them. This is lower overhead than +starting +.Nm ftpd +from +.Xr inetd 8 +and is thus useful on busy servers to reduce load. .It Fl S With this option set, .Nm ftpd @@ -295,6 +306,7 @@ Log file for anonymous transfers. .Sh SEE ALSO .Xr ftp 1 , .Xr getusershell 3 , +.Xr inetd 8 , .Xr syslogd 8 .Sh BUGS The server must run as the super-user |