#!/bin/sh
PATH="/sbin:/usr/sbin:/bin:/usr/bin:$PATH"

# this runs vsftpd using /etc/vsftpd/vsftpd.conf configuration file and
# limits the server to a maximum of 30 simultaneous connections. 
# vsftpd.cdb is not required for the service to run

exec /usr/bin/tcpserver -c30 -HRXv -llocalhost -x /etc/tcprules.d/vsftpd.cdb \
0 ftp /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf 2>&1
