[17:10] hi guys, just a quick question. I need to start a job every time the vm is restarted, I've added "start on startup" to the script but it doesn't start when the vm starts [17:10] is there something I'm missing? [17:13] marianogg9: the job is in the VM? And what do you mean restarted - is it rebooted, or suspended/resumed? [17:14] or is the job on the host? [17:15] xnox: this upstart script is monitoring a lumberjack service (log shipping service). When the vm where it's located is rebooted or stop/started, it doesn't start automatically [17:15] marianogg9: can you pastebin the job? [17:15] sure [17:16] marianogg9: start on startup, might be way too early for it - no filesystems are mounted rw yet potentially. [17:18] xnox: https://gist.github.com/marianogg9/10024411 [17:18] then which stanza is more suitable? [17:22] marianogg9: use : start on runlevel [2345] [17:23] instead of startup you mean? [17:47] Is there an event automatically emitted / generated upon completion of any upstart task? i.e. I want to do something once cups.conf has run it's post-start script [17:47] all I can think to do is edit cups.conf to emit a special event that I listen for and then try to work with that [17:47] but I don't want to edit that file :) [18:26] Ah - you can just "start on stopped cups RESULT=ok" [20:14] FunnyLookinHat: yes, that =) [20:15] xnox, :) I was getting a bit confused - what I really wanted was "start on started cups RESULT=ok" ... but same difference though [20:15] FunnyLookinHat: no need for result=ok in that case. "start on started cups" means cups got successfully started and is running. [20:16] FunnyLookinHat: if it fails to start "started" event is not emitted. [20:16] xnox, slick thx