Starting vsftpd using daemontools

After discovering Mr. Bernsteins Daemontools I decided to use it with vsftpd as well. So here’s a quick note for anyone that plans on using Daemontools with vsftpd. I initially had some issues getting the daemontools “svc” command to properly terminate the vsftpd process. svc -d /service/vsftpd/ svc -d -k /service/vsftpd/ svc -d -t /service/vsftpd/ None of the above could successfully kill vsftpd. First, make sure you are using exec in the supervise run script. Second, vsftpd is configured to automatically background itself. Daemontools needs vsftpd to run in the foreground in...
read more