/srv/irclogs.ubuntu.com/2013/12/17/#upstart.txt

=== xnox_ is now known as xnox
munkehAm I allowed to ask about upstart v1.5 considering the topic is v1.11?12:37
munkehalso: Hello12:38
xnoxjust ask...12:45
xnoxsupport for any upstart is provided12:46
munkehHow do you get a job to start when another job has been respawned?13:11
munkehI need to ensure that quagga is only running when unbound is running, and for unbound to respawn on crash.13:16
munkehCurrently unbound respawns, but quagga does not start again once unbound has respawned.13:16
=== Md_ is now known as Md
xnoxmunkeh: what are the "stop on" conditions of "unbound"? 13:39
xnoxmunkeh: i mean start/stop on conditions of quagga.13:40
munkehquagga.conf:  start on unbound started13:43
munkehquagga.conf:    stop on unbound stopping13:44
xnoxmunkeh: right, i think that would be sufficient. can you try something quite weird:13:49
munkehyes.13:49
xnoxmunkeh: wait those are wrong. "start on started unbound" and "stop on stopping unbound" is the right way around, no? (or was that the syntax in 1.5?)13:51
xnoxas in the event is "started" and "stopping" with qualifiers of job name "unbound"13:51
xnoxalso you can try:13:51
xnoxstart on started unbound13:51
xnoxstop on (starting unbound or stopping unbound)13:51
xnoxsuch that any running instances of quagga are stopped / killed upon a fresh launch of unbound.13:52
munkehhang on. I've just done a status quagga and it is still running. quagga is an abstact job to start ospfd. ospfd is stopped, but it's start on starting quagga13:54
munkehNew meds on my part mean my mind is partially fried.13:54
munkehI'll get back to you/this channel once I have it all clear in my head. Thank you for responding. I apologise for being ill-defined.14:05
xnoxmunkeh: =))) no worries. all is good. I hope you figure it all out.14:06

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!