I changed the proftpf.conf into /etc/init A bit more logical now
I do not now if one of the developpers just saw this message Yet.
Here startup proftp conf which work's very good on ubuntu natty while using network manager on fast pc
# Proftpd
#Use this instead of standard(old) rc.d When using network manager
#and dns masquer address Otherwise proftp start may fail due to no dns lookup avbl yet
#during boottime. With this proftpd will only start when network device is up
#
description "proftpd"
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [016]
expect fork
respawn
pre-start script
mkdir -p /var/run/proftpd
end script
script
exec proftpd -c /etc/proftpd/proftpd.conf
end script
I put the prestart to make the /var/run/proftpd map. Currently on natty it is not needed as the proftpd files are into
/var/run map . But I guess that this is just a small thing which was done wrong at compile time from the proftpd package in ubuntu self because the basic included proftpd.conf file mentions /var/run/proftpd for control purposes. (which i changed by me) .
I also used expect fork so that we see the process pid from proftpd with initctl list command.
exctract initctl list
I changed the proftpf.conf into /etc/init A bit more logical now
I do not now if one of the developpers just saw this message Yet.
Here startup proftp conf which work's very good on ubuntu natty while using network manager on fast pc
# Proftpd
#Use this instead of standard(old) rc.d When using network manager
#and dns masquer address Otherwise proftp start may fail due to no dns lookup avbl yet
#during boottime. With this proftpd will only start when network device is up
#
description "proftpd"
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [016]
expect fork
respawn
pre-start script
mkdir -p /var/run/proftpd
end script
script
exec proftpd -c /etc/proftpd/ proftpd. conf
end script
I put the prestart to make the /var/run/proftpd map. Currently on natty it is not needed as the proftpd files are into
/var/run map . But I guess that this is just a small thing which was done wrong at compile time from the proftpd package in ubuntu self because the basic included proftpd.conf file mentions /var/run/proftpd for control purposes. (which i changed by me) .
I also used expect fork so that we see the process pid from proftpd with initctl list command.
exctract initctl list
proftpd start/running, process 1949