cd /usr/local/directadmin/custombuild
mkdir -p custom
cp -Rp configure/pureftpd custom
nano custom/pureftpd/configure.pureftpd
#!/bin/sh
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--with-certfile=/etc/pure-ftpd.pem \
--with-tls \
--with-puredb \
--with-quotas \
--with-altlog \
--with-ftpwho \
--with-ratios \
--with-welcomemsg \
--with-rfc2640
cd /usr/local/directadmin/custombuild
./build pureftpd
/etc/pure-ftpd.conf
so changes can be added there, instead of in the boot script.--fscharset=utf-8 --clientcharset=utf-8
you can basically insert them into an already existing OPTIONS line, or add your own, eg:OPTIONS="-B -A -C 15 -E -H -k 99 -L 10000:8 -O stats:${LOG} -l puredb:${DB} -p 35000:35999 -u 100 -U 133:022 -w -Z"
OPTIONS="${OPTIONS} -Y 1 -J HIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3"
OPTIONS="${OPTIONS} --fscharset=utf-8 --clientcharset=utf-8"
service pure-ftpd restart