I have an upstart script that needs to run on reboot or shutdown, but it needs to access the network to post an http requests and wait for the replies, I tried
start on starting rc
and
start on starting (rc and net-device-up IFACE=eth0)
but no luck.