On 03/07/2012 06:42 PM, Clint Byrum wrote:
This bug explains the problem you're having:
https://bugs.launchpad.net/upstart/+bug/568860
tks for your reply.
I went on some more tests before your message and came out with this:
#myjob-wait
description "myjob-wait"
start on (starting lightdm or starting ubiquity)
stop on stopped myjob
instance $JOB
normal exit 2
task
script
status myjob | grep -q "start/running" && exit 0
start myjob || true
while sleep 3600 ; do :; done
end script
#myjob
description "myjob"
# The script is started by the xbmcbuntu-wait job only
script
....
end script
Do you see anything wrong with this approach? From my preliminary tests
this combination implements what I need.
Best regards
Luigi
--
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/upstart-devel