/srv/irclogs.ubuntu.com/2017/09/19/#upstart.txt

frewI am trying to build an upstart job that executes when other services are started, for the purpose of centrally reporting and monitoring services17:45
frewthis is what I can up with, based on the cookbook17:46
frew`start on ( started or stopped ) and ( JOB=!"cerberus" and INSTANCE=!"cerberus*")`17:46
frewso it notices all starts or stops that are not itself basically17:46
frewbut weirdly, it actually doesn't, and stopping and starting stuff isn't working17:46
frewI think I got it working with: `start on started JOB!="cerberus*" JOB!="startpar-bridge" INSTANCE!="cerberus*"`18:33
frewand another one that has `start on stopped JOB!="cerberus*" JOB!="startpar-bridge" INSTANCE!="cerberus*"`18:33

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