fix chmod calls
use upstart script
make sure we can connect from all interfaces