Update auto-doc

This commit is contained in:
Glenn Y. Rolland 2017-09-11 18:42:57 +02:00
parent 05fb603324
commit f726d0b242

9
run.sh
View file

@ -32,6 +32,15 @@ vsftp_main() {
if [ -z "$username" ]; then break ; fi
vsftp_add_user "$username" "$password"
done
if [ $idx -eq 1 ]; then
echo "Please export environement variables for users"
echo ""
echo "Ex: "
echo " VSFTP_USER_1_USERNAME=johnsnow"
echo " VSFTP_USER_1_PASSWORD=Winter1sC0ming"
echo " VSFTP_USER_2_USERNAME=tyrionlannister"
echo " VSFTP_USER_2_PASSWORD=aLann1ster4lwaysPaysHisD3bts"
fi
echo "Starting VSFTP"
exec vsftpd /etc/vsftpd/vsftpd.conf