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