README.Configuration-File 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. Pure-FTPd strives to remain simple to operate, and keeps the number of
  2. knobs down to a minimum.
  3. Virtually everything can be set using command-line switches, so that a
  4. configuration file is not required.
  5. For example, the '-H' switch is recommended and avoids DNS lookups.
  6. To enable this feature, just add it right after the executable name:
  7. /usr/local/sbin/pure-ftpd -H
  8. Long options are also supported. This is equivalent to the previous
  9. command:
  10. /usr/local/sbin/pure-ftpd --dontresolve
  11. As an alternative to command-line switches, Pure-FTPd can use a
  12. configuration file. The set of supported features is the same no
  13. matter what way of configuring the server is beind used.
  14. A sample configuration file named pure-ftpd.conf should have been installed
  15. in /etc/, /usr/local/etc/ or another standard location derived from
  16. the package installation prefix.
  17. Tweak it according to your needs, and start the server using that file:
  18. /usr/local/sbin/pure-ftpd /etc/pure-ftpd.conf
  19. Note the absence of switches. In order to avoid confusion, either a
  20. configuration file or a set of command-line switches can be used.