[15:07] <wasabi_> Heh. Nice. B5.
[15:07] <sadmac2> bingo?
[15:08] <wasabi_> Naw. The upstart 0.6.3 tagline.
[15:08] <sadmac2> ah yes
[18:00]  * sadmac2 debates whether this is a bug: http://fpaste.org/xyZQ/
[18:05]  * sadmac2 debates whether at 2am he really saw that...
[19:07] <Stevee> good evening, i've problems with upstart and the shutdown/reboot of the system ( without compatiblity mode )
[19:08] <sadmac2> Stevee: going to tell us about it or just dropping in to let us know? :P
[19:09] <Stevee> okay, my problem is i try to start the job shutdown
[19:10] <Stevee> but no services will be stopped
[19:10] <Stevee> at the end of the script
[19:10] <Stevee> i add the following:
[19:10] <Stevee> post-stop script
[19:10] <Stevee> halt -p
[19:10] <Stevee> end script
[19:10] <Stevee> the system halts correctly
[19:11] <Stevee> but no services / running jobs will be stopped
[19:12] <sadmac2> Stevee: what makes you think they would?
[19:13] <Stevee> here you can see the script
[19:13] <Stevee> v
[19:13] <Stevee> v
[19:13] <Stevee> http://nopaste.com/p/aUGp6c1ngb
[19:13] <Stevee> and the jobs stop on shutdown
[19:14] <sadmac2> Stevee: emits just says "this job may emit this event, so beware of race conditions." It doesn't actually cause the job to emit the event
[19:14] <sadmac2> Stevee: add a task stanza and an "exec initctl emit shutdown"
[19:14] <sadmac2> "exec initctl emit --no-wait shutdown"
[19:15] <Stevee> oh, okay
[19:15] <Stevee> so i didn't understand the emits command correctly
[19:15] <Stevee> thanks a lot
[19:15] <sadmac2> np
[19:18] <Stevee> now it woks, the jobs get killed on shutdown
[19:30] <Stevee> one more question
[19:31] <Stevee> the shutdown binary shipped by upstart
[19:31] <Stevee> can i also use that for shutdown
[19:31] <Stevee> ?
[19:31] <Stevee> or do i have to "start shutdown" on the shell ?
[19:32] <sadmac2> it won't run your shutdown job.
[19:32] <sadmac2> afaik
[19:32] <sadmac2> it does the sysv-compatible runlevel transition
[19:33] <Stevee> oh, okay
[19:34] <Stevee> the reboot biniary is the same for reboot or
[19:34] <Stevee> so i also need it ?
[19:35] <Stevee> don't need it