FS#6232 - vsftpd rc.d script suggestion.
Attached to Project:
Arch Linux
Opened by William Zhou (DawnFantasy) - Friday, 19 January 2007, 09:42 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 19 February 2008, 19:59 GMT
Opened by William Zhou (DawnFantasy) - Friday, 19 January 2007, 09:42 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 19 February 2008, 19:59 GMT
|
Details
In rc.d/vsftpd:
stat_busy "Starting vsftpd FTP Daemon" if [ -z "$PID" ]; then /usr/sbin/vsftpd & PID=`pidof -o %PPID /usr/sbin/vsftpd` If vsftpd.conf states "background=YES", the & is not needed, as vsftpd starts in background mode. With the &, the next PID detection command might fail as vsftpd is not started yet, which is the case in my box. |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Tuesday, 19 February 2008, 19:59 GMT
Reason for closing: Won't fix
Additional comments about closing: removing the "&" forces to add "background=YES" or to use xinetd. I'll keep the old form. Insert a "sleep x" if your system's too slow to get it up right.
Tuesday, 19 February 2008, 19:59 GMT
Reason for closing: Won't fix
Additional comments about closing: removing the "&" forces to add "background=YES" or to use xinetd. I'll keep the old form. Insert a "sleep x" if your system's too slow to get it up right.
I have put vsftpd in rc.conf's daemon list and let it start backgrounded.
On every boot it says that vsftpd fails to start but it does not, its running fine.