It seems there is a bug in Upstart state machine. If the process fail
before daemonizing, Upstart says the process will be respawned but that's
not the case. Moreover, Upstart has difficulty to correctly track
daemonization of lldpd (it is confused by the additional process
spawning after initial daemonization, for some reason?).
Fix #245 (for real)
start on net-device-up IFACE=lo
stop on runlevel [06]
-expect daemon
respawn
script
. /etc/default/lldpd
- exec lldpd $DAEMON_ARGS
+ exec lldpd -d $DAEMON_ARGS
end script