Confirmed on Maverick, could not check Lucid. Some details:
1. it seems it is 'exit 0' that causes fast respawning: after I corrected the '!egrep' syntax, I still got the fast respawn (now check_standalone_mode returns 0, and the 'or' clause is executed).
2. with both lines changed as suggested, a 'sudo start vsftpd' now gives:
cerdea@xango2:/etc/init$ sudo start vsftpd
vsftpd stop/pre-start, process 8508
cerdea@xango2:/etc/init$ initctl list | grep vsftpd
vsftpd stop/waiting
cerdea@xango2:/etc/init$
Confirmed on Maverick, could not check Lucid. Some details:
1. it seems it is 'exit 0' that causes fast respawning: after I corrected the '!egrep' syntax, I still got the fast respawn (now check_standalon e_mode returns 0, and the 'or' clause is executed).
2. with both lines changed as suggested, a 'sudo start vsftpd' now gives:
cerdea@ xango2: /etc/init$ sudo start vsftpd xango2: /etc/init$ initctl list | grep vsftpd xango2: /etc/init$
vsftpd stop/pre-start, process 8508
cerdea@
vsftpd stop/waiting
cerdea@