File pure-ftpd-1.0.20_doc.patch of Package pure-ftpd
only in patch2:
unchanged:
================================================================================
Index: README.Configuration-File
===================================================================
--- README.Configuration-File.orig
+++ README.Configuration-File
@@ -4,12 +4,12 @@ flag recommended and avoids DNS lookups.
To enable this, just add it to the server name:
- /usr/local/sbin/pure-ftpd -H
+ /usr/sbin/pure-ftpd -H
Alternative long options are also supported. Here's an equivalent of the
previous command:
- /usr/local/sbin/pure-ftpd --dontresolve
+ /usr/sbin/pure-ftpd --dontresolve
But you can use traditional configuration files over command-line options.
@@ -20,17 +20,17 @@ options. Then, the server will be starte
Please have a look at the 'configuration-files' directory. Copy the sample
configuration file called 'pure-ftpd.conf' to a suitable location, say /etc:
- cd configuration-files
- cp pure-ftpd.conf /etc
+ mkdir /etc/pure-ftpd/
+ cp pure-ftpd.conf /etc/pure-ftpd/
-Edit /etc/pure-ftpd.conf according to your needs.
+Edit /etc/pure-ftpd/pure-ftpd.conf according to your needs.
Then, to start the server, just run the following command:
chmod 755 pure-config.pl
./pure-config.pl /etc/pure-ftpd.conf
-This is a simple Perl script that will run /usr/local/sbin/pure-ftpd with
+This is a simple Perl script that will run /usr/sbin/pure-ftpd with
the right options, according to the configuration file.
We also provide a Python version of this program ('pure-config.py').