Comment 10 for bug 580319

Revision history for this message
rafalmag (rafalmag) wrote : Re: dhcp3-server launches before upstart brings all interface, thus failing to start

I wrote such upstart script :

description "Dhcp server"
author "Rafal Magda"

start on filesystem and net-device-up IFACE=br0
stop on runlevel[!2345]

respawn

expect fork
exec dhcpd3

Put in in /etc/init/dhcp.conf
dhcpd will be started when interface br0 will be up.

Iface ("br0") should be the same as in /etc/default/dhcp3-server . Maybe there is way to put it there automatically... ?