How to add "not equals" in start on condition for a job
Sandeep Puddupakkam (spuddupa)
spuddupa at cisco.com
Tue Apr 20 21:40:50 BST 2010
Hi,
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)
Is this an issue with the syntax or "not equals" is not supported in the
start on condition.
Is there any other way to accomplish what I am looking for without
adding any exports to all the jobs?
Thanks,
Sandeep
More information about the upstart-devel
mailing list