Copy Proftpd tls.conf in installer

This commit is contained in:
myvesta 2021-04-30 04:08:42 +02:00 committed by GitHub
commit 0a0d3a4649
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1040,6 +1040,7 @@ fi
if [ "$proftpd" = 'yes' ]; then
echo "127.0.0.1 $servername" >> /etc/hosts
cp -f $vestacp/proftpd/proftpd.conf /etc/proftpd/
cp -f $vestacp/proftpd/tls.conf /etc/proftpd/
update-rc.d proftpd defaults
service proftpd start
check_result $? "proftpd start failed"