| @@ -1,30 +1,30 @@ | | | @@ -1,30 +1,30 @@ |
1 | =========================================================================== | | 1 | =========================================================================== |
2 | $NetBSD: MESSAGE,v 1.4 2012/02/07 20:40:39 morr Exp $ | | 2 | $NetBSD: MESSAGE,v 1.5 2012/02/07 21:00:54 wiz Exp $ |
3 | | | 3 | |
4 | To use pure-ftpd, you will need to perform the following steps: | | 4 | To use pure-ftpd, you will need to perform the following steps: |
5 | | | 5 | |
6 | 1. In case you don't have PKG_RCD_SCRIPTS set in your /etc/mk.conf, copy | | 6 | 1. In case you don't have PKG_RCD_SCRIPTS set in your /etc/mk.conf, copy |
7 | ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/pure_ftpd to /etc/rc.d/pure_ftpd and add | | 7 | ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/pure_ftpd to /etc/rc.d/pure_ftpd and add |
8 | | | 8 | |
9 | pure_ftpd=YES | | 9 | pure_ftpd=YES |
10 | | | 10 | |
11 | to /etc/rc.conf. Other FTP servers should be disabled. | | 11 | to /etc/rc.conf. Other FTP servers should be disabled. |
12 | | | 12 | |
13 | 2. Stop any other running FTP server. Now start pure-ftpd by issuing the | | 13 | 2. Stop any other running FTP server. Now start pure-ftpd by issuing the |
14 | command | | 14 | command |
15 | | | 15 | |
16 | /etc/rc.d/pure_ftpd start | | 16 | /etc/rc.d/pure_ftpd start |
17 | | | 17 | |
18 | 3. If you want to use pure-uploadscript, you should copy pure_uploadscript to | | 18 | 3. If you want to use pure-uploadscript, you should copy pure_uploadscript to |
19 | /etc/rc.d, if you don't have it already, and need to add "-o" option to | | 19 | /etc/rc.d, if you don't have it already, and need to add "-o" option to |
20 | pure_ftpd_flags, and set | | 20 | pure_ftpd_flags, and set |
21 | | | 21 | |
22 | pure_uploadscript=YES | | 22 | pure_uploadscript=YES |
23 | pure_uploadscript_flags="-r /path/to/script" | | 23 | pure_uploadscript_flags="-r /path/to/script" |
24 | | | 24 | |
25 | Then you can start by | | 25 | Then you can start by |
26 | | | 26 | |
27 | /etc/rc.d/pure_uploadscript start | | 27 | /etc/rc.d/pure_uploadscript start |
28 | | | 28 | |
29 | For more details, read pure-uploadscript(8). | | 29 | For more details, read pure-uploadscript(8). |
30 | =========================================================================== | | 30 | =========================================================================== |