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