description "etcd service registry"

start on started
stop on shutdown

exec /usr/local/bin/etcd <%= @args %> -d <%= node[:etcd][:state_dir] %> -n <%= node[:fqdn] %>

description "etcd service registry"

start on started networking
stop on shutdown

exec /usr/local/bin/etcd <%= @args %> -d <%= node[:etcd][:state_dir] %> -n <%= node[:fqdn] %>

Change upstart script to start on networking
Change upstart script to start on networking 

Currently etcd starts before networking; networking should start first so that etcd can listen on the configured interfaces.