run a task as close to poweroff as possible

Tim Gopp alleighty at
Fri Mar 9 17:16:05 UTC 2012


how can I run a task as close before the real poweroff as possible?
I have to turn off a display and LEDs to indicate that the machine is powerd off 
now and it is save to switch the power off.

I'm trying to run the task with "start on runlevel [06]" but this is still 
~3sec ahead of the real poweroff.


More information about the upstart-devel mailing list