Upstart Cookbook

James Hunt james.hunt at canonical.com
Tue Mar 29 10:15:46 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 29/03/11 02:00, Scott James Remnant wrote:
> The simple answer there is that the way in which events interact with
> tasks vs. services is that they are *identical* :D
> 
> "started" is always emitted after post-start and before the main
> process, whether or not it's a task or service
> 
> On Mon, Mar 28, 2011 at 5:58 PM, Evan Broder <broder at mit.edu> wrote:
>> On Mon, Mar 28, 2011 at 3:32 PM, Scott James Remnant <scott at netsplit.com> wrote:
>>> 4.1.1 & 4.1.2 - worth explaining the real difference between "task"
>>> and "service" here, perhaps? or later?
>>
>> +1 from me on that. In particular, I'm interested in how
>> starting/started/stopping/stopped events interact with tasks.
>> slangasek and I tried to work this out on IRC earlier and were unable
>> to do so to our satisfaction.
>>
> 
Scott - thanks for clarifying this.

Evan - I've added a "Job Lifecycle" section which (hopefully) covers all
this:

	http://upstart.ubuntu.com/cookbook/#job-lifecycle

Cheers,

James.
- --
James Hunt
____________________________________
Ubuntu Foundations Team, Canonical.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2RsU4ACgkQYBWEaHcQG9cTOQCfSE02WlKKIx41NOadCzYChgbU
c7AAn2A1JChfnGTa9+sqPknXkYKznPbA
=CDC/
-----END PGP SIGNATURE-----



More information about the ubuntu-devel mailing list