Petr Lautrbach (plautrba(a)redhat.com) said:
at this moment, upstart events are emitted only from /etc/rc.d/rc
when runlevel is changing.
This patch adds emitting of started event also to daemon() function.
There is check of existing $runlevel to avoid duplicity emit call from /etc/rc.d/rc
Looks OK, but we'd want the additional stopping/stopped events as well.
Bill