On Thu, 2007-05-10 at 11:09 +0200, Jörg Sommer wrote: > Hello Ziga, Hi Jörg,
> I have another bug and would like to hear what you think about it: > > > [...] > > The cleanest solution imo would be to add a stop script > > "stop-bootchartd" which runs at /etc/rc(2345)/S99stop-bootchartd" and > > which stops bootchartd instead of grepping for running processes. > > Do you think it's possible that wait_boot() checks if > /var/run/bootchartd.pid becomes writable and then writes its PID there. > Then a init script can send a signal to it after the boot process came to > end. The logger can already be stopped manually using "/sbin/bootchartd stop". What was missing was a way to avoid the automatic process detection. Revision 393 introduces a new configuration option, AUTO_STOP_LOGGER. If set to "no", bootchartd will have to be stopped manually (or, as Michael noted, from an init script). -- Ziga

