/srv/irclogs.ubuntu.com/2010/10/29/#upstart.txt

NoobFukaireif exec is called when an upstart job is initiated, where do you specify the shutdown procedures?16:41
NoobFukaireshould  use pre-stop ?16:42
NoobFukaireits amazing that someone would write a utility like upstart, that manages starting and stopping services17:26
NoobFukaireand totally screw up the stopping services part17:26
dumb_ass1hello20:52
dumb_ass1is dbus a strict requirement for upstart to work correctly?20:53
=== dumb_ass1 is now known as pippo
mbieblpippo: libdbus is a hard requirement20:56
mbiebldbus is recommended for (user) communication20:56
pippowhat all is required instead to support the old system-v init scripts?21:10
pippohow do i trigger an event on my own?22:01
ioninitctl emit22:02
pippohow do i avoid some /etc/init/xyz.conf from emitting xyz ?22:03
pippos/avoid/prevent/22:03
ionBy commenting out the line that emits it, for instance.22:04
pippommm22:04
pippothere's a line explicitly emitting it?22:05
ionPerhaps. You didn’t define xyz and my crystal ball isn’t working right now.22:05
dumb_assi don't see any emit in the upstart script the other scripts should be depending on, and yet these other scripts get executed22:22
ionSee for instane starting(7) and the ones in its “see also” section.22:25
ionc22:25
dumb_asshere we are supposed to be triggered by "started"22:26
dumb_assand i assume "started" is triggered by the "end script"22:26
ionNo, 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_assso, 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 pages22:27
ionWhat is looking at?22:28
ionSee init(5) for documentation about the job definition syntax.22:28
dumb_assupstart...22:28
dumb_asslooking at init22:28
ionBy 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_assoh...22:30
dumb_assthanks!22:31
dumb_assnope22:31
dumb_assoh22:31
dumb_assthis is braindead22:31
dumb_assi am about to have a heat-stroke22:33
dumb_assit doesn't give a shit about the main script22:33
dumb_assbut what matters is the post started, if present22:33
ionhuh?22:33
dumb_assi am outraged22:33
_dvorak_does the "respawn" work even if I use the "script/end script" pair23:31

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