[10:10] Hello everyone. Is it possible to make sure that service `B` only runs when service `A` finishes? How do I do that? [10:11] service B should not run while A is still running [14:03] Hi delkin__ , here what I have for docker where docker daemon have to be running before container can start [14:04] docker daemon write into /var/run/docker.sock [14:04] then we check that the file exists before starting the container [14:04] here is the script block [14:05] script [14:05] # Wait for docker to finish starting up first. [14:05] FILE=/var/run/docker.sock [14:05] while [ ! -e $FILE ] ; do [14:05] inotifywait -t 2 -e create $(dirname $FILE) [14:05] done [14:05] # irc is the name of the container to start [14:05] /usr/bin/docker start -a irc2 [14:05] end script [14:05] [14:06] the file creation can be replace by anything === jodh changed the topic of #upstart to: Upstart 1.12.1 | http://upstart.ubuntu.com/cookbook/ | Post to mailing list if no response here: http://bit.ly/ooeNVv [17:13] Okay, I need an easy way to add an upstart script. [17:14] I just want to add a script. === SpamapS_ is now known as SpamapS [23:33] how can I get the output of a failed script from upstart?