Skip to content

Commit 90a6057

Browse files
Merge pull request hestiacp#1589 from ioannidesalex/patch-33
vsftpd / fail2ban Fix
2 parents 497b7c5 + 7a28629 commit 90a6057

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

install/vst-install-ubuntu.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -943,6 +943,12 @@ done
943943

944944
if [ "$vsftpd" = 'yes' ]; then
945945
cp -f $vestacp/vsftpd/vsftpd.conf /etc/
946+
touch /var/log//vsftpd.log
947+
chown root:adm /var/log/vsftpd.log
948+
chmod 640 /var/log/vsftpd.log
949+
touch /var/log/xferlog
950+
chown root:adm /var/log/xferlog
951+
chmod 640 /var/log/xferlog
946952
update-rc.d vsftpd defaults
947953
service vsftpd start
948954
check_result $? "vsftpd start failed"

0 commit comments

Comments
 (0)