[16:41] if exec is called when an upstart job is initiated, where do you specify the shutdown procedures? [16:42] should use pre-stop ? [17:26] its amazing that someone would write a utility like upstart, that manages starting and stopping services [17:26] and totally screw up the stopping services part [20:52] hello [20:53] is dbus a strict requirement for upstart to work correctly? === dumb_ass1 is now known as pippo [20:56] pippo: libdbus is a hard requirement [20:56] dbus is recommended for (user) communication [21:10] what all is required instead to support the old system-v init scripts? [22:01] how do i trigger an event on my own? [22:02] initctl emit [22:03] how do i avoid some /etc/init/xyz.conf from emitting xyz ? [22:03] s/avoid/prevent/ [22:04] By commenting out the line that emits it, for instance. [22:04] mmm [22:05] there's a line explicitly emitting it? [22:05] Perhaps. You didn’t define xyz and my crystal ball isn’t working right now. [22:22] i don't see any emit in the upstart script the other scripts should be depending on, and yet these other scripts get executed [22:25] See for instane starting(7) and the ones in its “see also” section. [22:25] c [22:26] here we are supposed to be triggered by "started" [22:26] and i assume "started" is triggered by the "end script" [22:27] No, see started(7). It’s emitted when a job has finished starting and is running. Upstart job definitions aren’t sequential scripts. [22:27] so, is it the first line in the script that they are looking at? [22:27] * dumb_ass is grabbing a hold of an installation with man pages [22:28] What is looking at? [22:28] See init(5) for documentation about the job definition syntax. [22:28] upstart... [22:28] looking at init [22:30] By default, a service-type job has started when the pre-start script (if any) has been run, the main script (if any) has been started and the post-start script (if any) has been run. [22:30] oh... [22:31] thanks! [22:31] nope [22:31] oh [22:31] this is braindead [22:33] i am about to have a heat-stroke [22:33] it doesn't give a shit about the main script [22:33] but what matters is the post started, if present [22:33] huh? [22:33] i am outraged [23:31] <_dvorak_> does the "respawn" work even if I use the "script/end script" pair