[16:19] hey guys, another upstart question [16:20] is there a way to ensure something executes on startup when EVERYTHING ELSE has started? [16:20] I have a service that needs to start when at least two other services have started [16:32] jamescarr: "start on (started service-a and started service-b)". There is no "everything else" - jobs start and stop for the lifetime of the system boot. [16:33] jodh: yeah I think what you said is what I need [16:33] basically, I need this script to run once docker is running and networking has been configured ;) [16:33] the problem was it was running before networking was configured or docker was running [16:34] so sometimes it worked sometimes it didnt [16:34] jamescarr: take a look at upstart-events(7) or http://upstart.ubuntu.com/cookbook/#ubuntu-well-known-events-ubuntu-specific as there are generally events for most stages of the boot. [16:49] jamescarr: I'd do 'start on runlevel [2345]' and then in pre-start do 'exec start wait-for-state WAITER=myjob WAIT_FOR=docker' [16:50] jodh: btw any movement on state awareness for upstart? [16:51] SpamapS: didn't know about that pre-start thing [16:51] thanks! [16:52] jamescarr: it is less than obvious, but it solves the problem in a more robust way (it will force docker to start if it is not yet starting) [16:52] yeah I like that [16:55] SpamapS: not recently I'm afraid. Still something we're considering as mentioned in the LinuxCon talk.