Comment 1 for bug 303574

Revision history for this message
Jeff Oliver (jeffrey-oliver) wrote : Re: poweroff does nothing (beside writting message)

I'm wondering if your problem is related to a question I posted (Question #51683).

Upstart has an event that is self-emitted called "startup", that kicks off the boot process, but I fail to see an event that is the opposite of that. A "runlevel 0" event can be used to stop all of the jobs, but I need something at the end that ends up actually rebooting the machine.

It appears that upstart relys on how sysvinit does its shutdown. Basically kill all of the processes, then run SXXkillall and SXXhalt or SXXreboot. The latter two do the actual reboot or halt. But what it I dont have sysvinit doing that? How can I do a reboot or halt without sysvinit's help?