Issuing telinit or shutdown from upstart script

James Hunt james.hunt at ubuntu.com
Fri Mar 9 15:14:16 UTC 2012


On 09/03/12 12:35, Svein Seldal wrote:
> Hi again,
>
> Given a task job and given that telinit or shutdown is issued within the
> script section, when does upstart start processing the events? After the
> current script is completed executing, or immediately when the command
> is received?
>
> Regards,
> Svein
>
>
See

- the section "Job lifecycle" in upstart-events(7).
- the section "Process definition" in init(5).

Kind regards,

James.
--
James Hunt
____________________________________
http://upstart.ubuntu.com/cookbook
http://upstart.ubuntu.com/cookbook/upstart_cookbook.pdf



More information about the upstart-devel mailing list