/srv/irclogs.ubuntu.com/2016/01/27/#upstart.txt

davuxhi!00:32
davuxI'm trying to detect (and react) when a job respawns, so I'm following http://upstart.ubuntu.com/cookbook/#detect-if-a-job-stopped-before-reaching-its-respawn-limit00:34
davuxbut it's not working. The action is executed when I remove the "respawn" stanza00:35
davuxI'm doing this in the "watchdog" job: start on stopped RESULT=failed, then echo "job '$JOB' just failed" >> /tmp/failures.log (inside a script block)00:47
davuxand that's litterally it. With no respawn in the target job, the watchdog works, however with a respawn I don't get anything in /tmp/failures.log00:48
davuxI don't understand. I can't find a way to detect that a job failed if it has a respawn stanza01:41
davuxis there a way to get upstart-monitor along with upstart 1.5?18:18
davuxI'm on Ubuntu 12.04 LTS and there's no upstart-monitor package :(18:19
=== ktosiek is now known as ja_chce_jeszcze_
=== ja_chce_jeszcze_ is now known as ktosiek

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