vsftpd Fix

This commit is contained in:
Alexandros Ioannides 2018-05-31 21:08:24 +03:00 committed by GitHub
parent a3f0fa1501
commit 7a28629ffc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -943,6 +943,12 @@ done
if [ "$vsftpd" = 'yes' ]; then
cp -f $vestacp/vsftpd/vsftpd.conf /etc/
touch /var/log//vsftpd.log
chown root:adm /var/log/vsftpd.log
chmod 640 /var/log/vsftpd.log
touch /var/log/xferlog
chown root:adm /var/log/xferlog
chmod 640 /var/log/xferlog
update-rc.d vsftpd defaults
service vsftpd start
check_result $? "vsftpd start failed"