aboutsummaryrefslogtreecommitdiff
path: root/libexec/ftpd/ftpd.8
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1996-04-11 10:22:16 +0000
committerDavid Greenman <dg@FreeBSD.org>1996-04-11 10:22:16 +0000
commitcf09a2067ce407102eab6f06525332b65935faa1 (patch)
tree74ce8d143a92773e944580691fd7a7491a4394fe /libexec/ftpd/ftpd.8
parent2bff10e8b94f23c364a4c3afc5e04ed6d4bd5a63 (diff)
downloadsrc-cf09a2067ce407102eab6f06525332b65935faa1.tar.gz
src-cf09a2067ce407102eab6f06525332b65935faa1.zip
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.
Notes
Notes: svn path=/head/; revision=15196
Diffstat (limited to 'libexec/ftpd/ftpd.8')
-rw-r--r--libexec/ftpd/ftpd.812
1 files changed, 12 insertions, 0 deletions
diff --git a/libexec/ftpd/ftpd.8 b/libexec/ftpd/ftpd.8
index 6e5b199cbfd3..8cd69027cfeb 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