How to add "not equals" in start on condition for a job
Scott James Remnant
scott at netsplit.com
Tue Apr 20 22:26:47 BST 2010
On Tue, 2010-04-20 at 13:40 -0700, Sandeep Puddupakkam (spuddupa) wrote:
> I have a situation where I have to start a job (foo) when any job on the
> system stops except itself.
> How do I write the start on condition for this?
> I tried
> "start on stopped JOB!=foo"
> but it does not work (job does not get started if any other job stops).
> If I remove the JOB!=foo condition, it goes into an infinite loop as
> expected (foo gets started every time foo job stops)
>
This should work with 0.6.5
Scott
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20100420/8318c329/attachment-0001.pgp
More information about the upstart-devel
mailing list