summaryrefslogtreecommitdiff
path: root/debian/twoftpd-run.README.Debian
blob: 3eeb0e9214ce3732b350a404f39abc29d8256151 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
twoftpd-run for Debian
----------------------

This package sets up the twoftpd service to listen on 0.0.0.0:21, and
additionally provides a service directory to set up an anonymous twoftpd
service.

The twoftpd service directory is /etc/twoftpd/, the twoftpd-anon service
directory is /etc/twoftpd-anon/.  The installation of this package
automatically adds the twoftpd service to runit's service supervision
through the update-service(8) program.  Please see the documentation of
the runit package on how this works.

To enable the twoftpd-anon anonymous ftp service, just run the
update-service(8) program manually, e.g.

 # update-service --add /etc/twoftpd-anon

Note that you cannot run the default twoftpd and twoftpd-anon services
simultaneously unless you specify separate IP addresses or ports for the
services to listen on.  To do so, edit the corresponding run scripts
/etc/twoftpd/run and /etc/twoftpd-anon/run.

The twoftpd-run package provides the virtual package ``ftp-server'' and
conflicts with other packages providing ``ftp-server''.  This ensures that
twoftpd is the only service that listens on the address 0.0.0.0:21 on a
system, and also satisfies packages that depend on a running ftp service.
The twoftpd package without the twoftpd-run package can be installed
alongside other ftp-server packages on a system, e.g. to provide different
ftp services on different addresses simultaneously.

 -- Gerrit Pape <pape@smarden.org>, Sun, 24 Aug 2003 19:08:49 +0200