May 28, 201412 yr Hi, I'm running Unraid 6b5a, I need to tweak the FTP. I have a Ubuntu VM that run Pydio. I created a workspace that connect in FTP to one of the User Share of Unraid. Pydio doesn't have any bandwidth throttling, so anytime some friends connects to it, it take all my upload speed; I want to limit the speed thru VSFTP. I know it's global, but I don't care as I do not use the FTP anyway. 1. How to restart the VSFTPd service without restarting the host Unraid ? 2. I did changes to the vsftpd.conf to add Limits per IP connections and also to put Bandwidth throttling, but after a restart, they were gone. Where to put them so they stick on reboots ?? Thanks !
May 30, 201412 yr Author can you elaborate a bit? I'm new to Unraid and I did not do customization yet... Do I put a line that will Inject Inside /etc/vsftpd.conf or a put a line that will copy a Modified vsftpd.conf file overwriting the other file in /etc/ ? Thank you.
June 3, 201412 yr Author Put a line in your go file to copy from flash to /etc/vsftpd.conf. Any Idea on how to Start/Restart/Stop the VSFTPd ?
June 3, 201412 yr The internal FTP is set up as a service of the inetd daemon. Run /etc/rc.d/rc.inetd to control it. /etc/rc.d/rc.inetd restart would restart the service. stop would stop and start will start. Stopping will propably turn off other services as well. Have a look at /etc/inetd.conf to check. So after stopping, I would recommend to outcomment the ftp vsftpd line and restart the service without the ftp afterwards. To reenable the ftp, stop the service remove the comment on the ftp vsftpd line and restart the service. Somewhat complicated I know. Copying a modified vsftpd.conf from flash will propably be easier then doing inline modifications. Depends on the scope of your changes, though.
Archived
This topic is now archived and is closed to further replies.